I’m currently trying to parse some markdown files with julia-language quotes to html. Since it’s too slow to open pages by pluto and I need to insert things like gitalk, I don’t want a fully wrapped one.
Obviously Markdown itself does not provide this function:
julia> html(md"""
```jl
foo(true)
```
""")
"<pre><code class=\"language-jl\">foo(true)</code></pre>\n"
I searched for packages but found nothing which seem to solve this.
My guess would be that you could piggy-back or borrow this functionality from one of the packages that does this like Literate, Documenter, Franklin, etc.
But I’ll admit it isn’t entirely clear to me what you want.
But I’ll admit it isn’t entirely clear to me what you want.
Well, if it’s only to solve this problem, I need a function to parse markdown-format string into html-format string with colorful julia-language quotes.
piggy-back or borrow this functionality
Not quite practicable, I’ve learned almost every function except the one I need.