milesj/docusaurus-plugin-typedoc-api

Codeblocks are sometimes not rendered

Closed this issue · 1 comments

B4nan commented

I noticed that some of the inline codeblocks are not rendered, namely those that are inside markdown tables.

This is the table definition inside jsdoc of a class (source)

 * ## Supported Configuration Options
 *
 * Key | Environment Variable | Default Value
 * ---|---|---
 * `defaultDatasetId` | `APIFY_DEFAULT_DATASET_ID` | `'default'`
 * `defaultKeyValueStoreId` | `APIFY_DEFAULT_KEY_VALUE_STORE_ID` | `'default'`
 * `defaultRequestQueueId` | `APIFY_DEFAULT_REQUEST_QUEUE_ID` | `'default'`
 * `localStorageDir` | `APIFY_LOCAL_STORAGE_DIR` | `'./apify_storage'`
 * `localStorageEnableWalMode` | `APIFY_LOCAL_STORAGE_ENABLE_WAL_MODE` | `true`
 * `persistStateIntervalMillis` | `APIFY_PERSIST_STATE_INTERVAL_MILLIS` | `60e3`
 * `token` | `APIFY_TOKEN` | -

image

Note that it does work for lists, few lines under this code is a list with items as codeblocks and that renders just fine.

Looks like I forgot to convert cells, will be fixed in the next version.