This is my note for writing blogs with Hugo
and Emacs
.
Cross Reference
Link to Posts
- Create the link to other posts by [Hugo Note]({{< ref “hugo_note.md” >}}). See Links and Cross References | Hugo and titleref: Referencing Hugo posts by their titles ❚ A Scripter’s Notes for more details.
- When export markdown by
ox-hugo
, the backend will convert the angle to<
and>
by default. It provides a way to export the above link by@@hugo:[description]()@@
See Shortcodes — ox-hugo - Org to Hugo exporter for more details.
Link to Equations
It is the same as LaTeX
by mathjax
.
Emacs Configuration
- export:
ox-hugo
to export markdown file. Also,org-hugo-auto-export-mode
exports markdown file once the org file being edited is saved, which is convenient if you want to check the effect frequently.