xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 180 forks source link

[Feature Request] Custom option for pandoc when using nb browse #275

Closed EarthMessenger closed 4 months ago

EarthMessenger commented 9 months ago

I want to use customize pandoc option (for example east_asian_line_breaks) when using nb browse. However there isn't such setting. I hope nb can add a setting for this.

xwmx commented 4 months ago

@EarthMessenger I've included east_asian_line_breaks by default in browse now. I'll try to look at making the pandoc options from customizable in browse.

xwmx commented 4 months ago

The Markdown reader and extensions for nb browse can now be customized using the $NB_BROWSE_MARKDOWN_READER variable. This extension is already enabled via the default value: markdown+emoji+raw_html+east_asian_line_breaks. Let me know if you run into any issues with it!