cryogen 2020-03-06

Jakub Holý (HolyJak) 2020-03-06T08:07:11.007600Z

@carmen what about creating a cryogen-demo repo & site, exercising all the (visual) aspects of cryogen? We could use it for manual/automated checks upon every major change and as a demo of what C can (It would perhaps need both md and asc; the ToC issue wouldn't have been discovered with md. I should have added & can add some unit/integration tests too.)

That's a good idea, I use md myself so I tend to forget about testing with asc... The actual unit tests could be better too, but time... 😅

👍 1

Hey, sorry about the silence, I was sick and out of action

thanks for investigating @holyjak - I tracked down the lack of :id to (what I think is) a regression in configuration of integration bundles (it looks like the flexmark integration did not enable the extension responsible for anchor links)

I'll see if I can test a local fix

managed to enable the extension locally; I don't think it adds IDs to headers though - the resulting HTML is:

<h3><a href="#abc" id="abc">ABC</a></h3>

🎶 dependencies, dependencies 🎶

solved: at minimum, HtmlRenderer/GENERATE_HEADER_ID and HtmlRenderer/RENDER_HEADER_ID need to be enabled

will add a PR to the integration package

Thank you for investigating @lady3janepl!

npnp. i wanted my toc XD

Haha glad you figured it out :)

I checked the other options from old markdown config, and it turns out footnotes are also missing; footnotes are an extension. So I'm gonna re-add that as well, or else people who used footnotes will have a regression when upgrading.

❤️ 2

TBH I would love it if it was possible to enable flexmark extensions in user installations

for example I've been wanting definition lists forever

...and tables re-enabled

...and (warning, controversial) Klipse integration fixed

Flexmark renderer auto-prefixes fenced code with "language-" if you give it a language; this doesn't bother hljs, but it does break Klipse config, if Klipse was enabled using a class-based selector

...and strikethrough, superscript.

This is all I could find. All written up in issues, please let me know if you find more.

Superscript is not backwards-compatible, blockquote attribution renders different html (so I guess this would also count as not backwards compatible).