Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Line 213)

Citation: Release notes entry based on PR #60 which adds Lua filter support via pandoc.luaFilters and built-in admonition rendering via pandoc.enableAdmonitions.
View source

Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,28 @@ You can set keybindings to specific formats in a _keybindings.json_ file. For ex

Setting these skips the format selection prompt and directly exports to the specified format, but you can still use the default render command to choose a format from the list.

### Lua Filters

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Based on PR #60 which adds the pandoc.luaFilters setting. The PR's README changes (README.md diff) documented the feature, and I added an explicit note about Docker mode compatibility based on changes in src/extension.ts showing Lua filters are appended to both standard and Docker commands.
View source


You can use [Lua filters](https://pandoc.org/lua-filters.html) to transform documents during conversion. Lua filters work with both standard Pandoc and Docker mode.

- Lua Filters / `pandoc.luaFilters`: List of absolute paths to Lua filter files to pass to Pandoc via `--lua-filter`.

- Default: `[]` (empty, no filters applied)

#### Admonition support (Docusaurus-style fenced divs)

If your Markdown uses [Docusaurus admonitions](https://docusaurus.io/docs/markdown-features/admonitions) (`::: note`, `:::warning`, etc.), you can use a Lua filter to handle them. Community filters like [pandoc-admonition-filter](https://github.com/chdemko/pandoc-admonition-filter) or a custom filter work for this.

Example `settings.json`:

```json
{
"pandoc.luaFilters": [
"/path/to/admonition-filter.lua"
]
}
```

### Additional Pandoc command line options

Set additional command line options for each output format.
Expand Down Expand Up @@ -116,6 +138,8 @@ If needed, you can also change the default Pandoc docker image using the `pandoc

## Releases

- March 2026
- Add Lua filter support (`pandoc.luaFilters`) for document transformation, including Docusaurus-style admonition rendering

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Release note entry for the Lua filter feature from PR #60. The PR description explains this addresses Docusaurus admonition support (fixes #36).
View source

- March 12th, 2026
- Dependency updates
- Export options sorted by usage by default with a setting to override
Expand Down
Loading