redbug312 / markdown-it-multimd-table

Multimarkdown table syntax plugin for markdown-it markdown parser
MIT License
146 stars 37 forks source link

option to customize caption syntax #50

Closed changethe closed 2 years ago

changethe commented 2 years ago

The current caption syntax [caption] doesn't allow links inside the caption. It would be nice to have an option to define a different marker for the caption.

Additionally it would be nice to have an option to disable the generation of the caption id (it can get kinda long if the caption is a bit longer).

markdown-it-attribution does this really well.

redbug312 commented 2 years ago

I just found the problem to caption links and will fix it in next version. Also, an option autolabel: false will be available to disable id auto-generation.

redbug312 commented 2 years ago

Closed for version 4.2.0.

changethe commented 2 years ago

you made a typo in the documentation: under usage the example setting for turning off the autolabel says aotolabel: true should be autolabel.

thanks a lot for fixing this btw!