cryogen

http://cryogenweb.org/ - static sites by @U0DJK1VH6 & Co.
Jakub Holý 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.)

3Jane 2020-03-06T16:07:27.010400Z

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

3Jane 2020-03-06T16:09:31.012500Z

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)

3Jane 2020-03-06T16:12:39.012800Z

I'll see if I can test a local fix

3Jane 2020-03-06T16:53:09.013600Z

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>

3Jane 2020-03-06T16:53:54.014200Z

🎶 dependencies, dependencies 🎶

3Jane 2020-03-06T17:02:30.015Z

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

carmen 2020-03-06T17:02:46.015300Z

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
3Jane 2020-03-06T17:03:09.016Z

will add a PR to the integration package

carmen 2020-03-06T17:03:19.016200Z

Thank you for investigating @lady3janepl!

3Jane 2020-03-06T17:03:39.016600Z

npnp. i wanted my toc XD

carmen 2020-03-06T17:04:00.016900Z

Haha glad you figured it out :)

3Jane 2020-03-06T17:52:36.019400Z

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
3Jane 2020-03-06T18:08:57.020400Z

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

3Jane 2020-03-06T18:09:10.020700Z

for example I've been wanting definition lists forever

3Jane 2020-03-06T18:09:24.020900Z

and flexmark has them: https://github.com/vsch/flexmark-java/wiki/Extensions#definition-lists

3Jane 2020-03-06T18:23:17.021300Z

...and tables re-enabled

3Jane 2020-03-06T18:37:24.023300Z

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

3Jane 2020-03-06T18:37:59.023900Z

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

3Jane 2020-03-06T19:35:49.024300Z

...and strikethrough, superscript.

3Jane 2020-03-06T19:36:18.024900Z

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

3Jane 2020-03-06T19:36:55.025800Z

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