I want to create a few posts about my success stories w/ Julia on www.blogger.com.
I’m having some trouble with:
writing math
I can get display mode to work, but inline mode does not
Julia code boxes
Has anyone here had success making pretty blog posts w/ both math & Julia code snips on www.blogger.com or elsewhere?
Can you please point me to good source?
I’d bet there is good code display as well, but not sure about correct syntax highlighting. I know it has been pushed to the wild because the team was trying to get StackOverflow to have it, but not sure what the status is.
I’ve been making stats notes using weave.jl and saving output as .tex to play around in LaTeX and make nice pdfs. Sure you could do the same and convert to html with pandoc. Or just publish straight to html if that’s easier for you.
In that case the Weave.jl suggestion above is probably the best because you’ll get stand-alone HTML pages that you could link to and won’t need to deal with Javascript and CSS stuff.
I don’t even know how to use weave.jl, I used a template powered by Jekyll & Academic pages.
I tried using Franklin.jl but wasn’t getting much action so the template looked like the path of least resistance…
where you would have to appropriately fill XXX and YYY. You could also use another stylesheet than GitHub; if you download the stuff from highlight.js you will see how to pick other stylesheets.
If this still seems too obscure, I’d reiterate what others have said before; generators try to make this stuff easier for you for a reason
Perhaps you are interested in blogging in Hugo, the static site generator noted for its build speed. I wrote a template github repo to blog Markdown and syntax highlighting as well as KaTeX math. GitHub and Gitlab CI/CD are included to automatic build / publish upon pushing changes.
I’m (very) far from an expert. But saving the following as a julia markdown file example.jmd
# Here is my website
I'm going to use **LaTex** and **Julia**.
### Here's some maths
$ f(x,y) = x^{x} + \frac{y}{x} $
### And some code
```julia
f(x,y) = x^x + y/x
f(2,3)```