markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

custom id support??

Open wow-yes opened this issue 3 years ago • 1 comments

Pandoc - Pandoc User’s Guide

the following headings will all be assigned the identifier foo:

# My heading {#foo}

## My heading ##    {#foo}

My other heading   {#foo}
---------------

(This syntax is compatible with PHP Markdown Extra.)

Will this plugin support this feature? Thanks.

For now, I use ###### as an alternative 。

wow-yes avatar Jan 02 '22 08:01 wow-yes

I think the underlying parsers that this extensions use may have a plugin for that. I will have to check.

simov avatar Jan 03 '22 10:01 simov

Markdown Viewer v5.2 got released with a new default compiler called markdown-it and an option called attr that addresses this issue https://github.com/simov/markdown-viewer#compiler-options

simov avatar Sep 27 '23 07:09 simov