Example Org Blocks
A couple examples ripped from the ox-hugo docs.
Asides
This is a normal paragraph.
This is another normal paragraph.
Markers
This paragraph has some highlighted words in it.
Details
This section shows some hidden details:
This content is hidden by default.
Org-Babel
Source code blocks can be written and evaluated with org-babel:
|
|
(stdout)
Hello from Rust!
|
|
(stdout)
hello from python.
Info
With :exports true
set, code blocks are to be evaluated by hand with
C-c C-c
(so if you change the code, you must also remember to
re-evaluate the results). It would be nice to use :exports both
and
have ox-hugo evaluate blocks automatically on export, but I have not
been able to get this to work correctly.