cljdoc 2023-01-25

Would it be out of scope to get cljdoc to support https://mermaid.js.org/ similar to https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/? I’ve recently fallen in love with ’em… πŸ™‚

πŸ§œβ€β™€οΈ 1
πŸ§œβ€β™‚οΈ 1
🧜 1

I think it is worth considering @suomi.esko. A while back we added https://cljdoc.org/d/org.cljdoc/cljdoc-exerciser/1.0.90/doc/document-tests/asciidoctor-features#_math, it feels kinda sorta like in that realm of features. Anybody else out there want mermaid support in cljdoc?

ooooh mermaid looks fun!

It does, doesn't it? We'd have to take precautions like GitHub has and not allow interactivity.

whoops, I guess cljdoc doesn’t support [this style][target-url] of markdown link: https://cljdoc.org/d/org.mentat/mathbox.cljs/0.1.0/doc/readme

Have taken a peek, seems related to image links only. It might be a bug in flexmark-java which use to render GitHub Flavoured Markdown. Not sure, have asked them about it here: https://github.com/vsch/flexmark-java/issues/551

@sritchie09 huh, didn't know that was an accepted markdown link syntax.

Hmm! TIL. Reference links.

I can take a peek @sritchie09... I think we should probably support this syntax.

πŸ™ 2

Raised an issue: https://github.com/cljdoc/cljdoc/issues/743, will take a peek sometime soonish.

is that only a github thing?