jbake-org / jbake

Java based open source static site/blog generator for developers & designers.
http://jbake.org
MIT License
1.12k stars 326 forks source link

Question: how can I activate Flexmark-java's attributes extension? #759

Open hmf opened 2 years ago

hmf commented 2 years ago

I am trying to activate the extension as indicates in the documentation. The link to the documentation does not seem to help because I cannot find the strings as shown in the documentation example, for this particular case. I looked at this for guidance, but that link is dead. I also searched the Flexmark-java git repo with no success. The goal is to use this extension.

Here is what I have in my configuration file:

markdown.extensions=FOOTNOTES,FENCED_CODE_BLOCKS,ATTRIBUTES

And I have this in my markdown file:

use{.span}

and I get the same text out verbatim.

On the same note. Assuming I have activated the extension, how do I set parameters such as FENCED_CODE_INFO_ATTRIBUTES to true?

TIA

hmf commented 2 years ago

Just had the idea to use the ALL. That did not work either. This extension seems to exists since 2017, so I don't think it is an issue with version.

Forgot to mention that I am using JBake version 2.6.7

hmf commented 2 years ago

Seems lime it is a bug in Flexmark. See https://github.com/vsch/flexmark-java/issues/509.