.Kind (home): .Type (page) / .Layout ()
Bundle: branch
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Oct 05, 2024 21:20 UTC.


This page was created/modified in commit f0dd0e2 "Support image copying for the homepage branch bundle case" on 2018-04-23.
Markdown source of this page

Content

Image in homepage branch bundle:


Resources

Escaping hashes and exclamations correctly in body

(Last modified on Mon Jan 3, 2022)

I intend to show these # characters verbatim; they should not render as Markdown headings. They also shouldn’t show up with a leading \ in the final rendered output. #This is not an Org comment. It has a hash char at beginning of a paragraph which must be escaped just once i.e. show up as \# in Markdown. blah # This isn’t an Org comment either This * will be escaped just once i.

Dealing with underscores

(Last modified on Mon Jan 3, 2022)

Cases where the underscores should be escaped # _something foo bar _something foo bar something_ foo bar something_ foo bar Cases when the underscores should not be escaped # By itself _ In a verbatim block _ In an emoji 🙌, ✅ In a citation @abc_def

Inheriting tags

(Last modified on Mon Jan 3, 2022)

If user specifies tags to the post subtree heading, those tags get added to the set of default tags set in #+filetags (and the ones inherited). For the inheritance of tags from parent headings and #+filetags to work, org-use-tag-inheritance needs to be set appropriately if changed from the default value of t. These tags are collected together and assigned to the Hugo tags front matter variable for this post. When setting categories via Org-style tags, prefix the tags with “@”.

Don't number headings or TOC

(Last modified on Mon Jan 3, 2022)

Post sub-heading 1 # Post sub-heading 1.1 # Post sub-heading 1.1.1 # Post sub-heading 1.2 # Post sub-heading 1.3 # Post sub-heading 2 # Post sub-heading 2.1 # Post sub-heading 2.2 # Post sub-heading 2.2.1 # Post sub-heading 2.2.2 # The UNNUMBERED property for this subtree is set to t. So this heading will show up as unnumbered in both the post body and the TOC. Post sub-heading 2.2.3 # Post sub-heading 3 # Post sub-heading 3.

Don't number headings (but yes in TOC)

(Last modified on Mon Jan 3, 2022)

Post sub-heading 1 # Post sub-heading 1.1 # Post sub-heading 1.1.1 # Post sub-heading 1.2 # Post sub-heading 1.3 # Post sub-heading 2 # Post sub-heading 2.1 # Post sub-heading 2.2 # Post sub-heading 2.2.1 # Post sub-heading 2.2.2 # The UNNUMBERED property for this subtree is set to t. So this heading will show up as unnumbered in both the post body and the TOC. Post sub-heading 2.2.3 # Post sub-heading 3 # Post sub-heading 3.

Draft state with other headings

(Last modified on Mon Jan 3, 2022)

The “TODO” state of this heading (which is nil) should be ignored # If a post has the DRAFT state set, the draft front matter variable should be set to true, even if the post has a sub-heading immediately after the post heading.

Source blocks with langs that need to be replaced in Markdown

(Last modified on Mon Jan 3, 2022)

(print "hello") (print "hello")

Issue 424 – Exporting Results blocks from Included Org files

(Last modified on Mon Jan 3, 2022)

Example of using #+include to export code block and results block from that included file.

Links to images

(Last modified on Sat Jan 1, 2022)

Test for internal links to image references.

Image links

(Last modified on Sat Jan 1, 2022)

This is some text before the first heading of this post. Unclickable image (works!) # # Org source #+name: fig__unclickable_image #+caption: Don't click this image -- It's not a hyperlink [[/images/org-mode-unicorn-logo.png]] Figure 1: Don’t click this image – It’s not a hyperlink To be fixed (Now fixed): The sub-headings in a post get exported as Heading 1 instead of Heading 2. For example, this sub-section’s heading is exported as: # Unclickable image instead of


This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]