@martinklepsch that would be great, for linking to issues pages, Slack page links etc from the sidebar
another Q for y’all - is there any facility now for rendering LaTeX in cljdocs?
Unfortunately not. Maybe we could support it via some Asciidoc extension though… :thinking_face: cc @dominicm
Yeah, makes perfect sense. Do you want to open an issue or maybe even a PR? If you’re generally down I’m happy to provide some pointers
one official one: https://github.com/asciidoctor/asciidoctor-latex
and this looks less official, but another option: https://github.com/cirosantilli/asciidoctor-katex-2
but more peppy: > Besides those however, it the extension is already working pretty well, and if those points were implemented, we would have, I believe, the best HTML ath typesetting system created so far, opening the way to destroy LaTeX and world domination.
Not ported to asciidoctorj unfortunately. I've no experience with JRuby directly.
Doesn't asciidoctorj support mathjax?
https://www.javacodemonk.com/how-to-enable-asciimath-formula-using-mathjax-in-asciidoctorj-c3411510
looks like there’s an asciimath extension
though that just handles emitting properly escaped \$…
yeah, it is more just about adding a flag to embed mathjax on the cljdoc page
<script>
window.MathJax = {
loader: {load: ['[tex]/physics']},
tex: {
tags: 'ams',
processEscapes: true,
inlineMath: {'[+]': [['$', '$']]},
packages: {'[+]': ['physics']}
}
};
</script>
<script type="text/javascript" id="MathJax-script" async
src="<https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js>">
</script>
something like this
I don’t have the bandwidth to do this now, unfortunately, but here’s an issue placeholder
made an issue in case this is an attractive idea!