.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 Feb 27, 2021 05:46 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


Image in homepage branch bundle:


Filling automatically not preserved for Chinese characters (preserve filling off)

(Last modified on Fri Nov 29, 2019)

Ensure that even when auto-unwrapping is enabled, no space is kept between the unwrapped multi-byte characters if the locale is manually set or auto-detected as Chinese.

Using Org macros in lieu of Hugo shortcodes

(Last modified on Mon Nov 11, 2019)

Using Org macros in place of Hugo shortcodes to make the Org content reusable across more export backends.

Table Styling with ATTR_HTML and ATTR_CSS

(Last modified on Sat Oct 26, 2019)

This table styling feature overcomes a known limitation in Hugo/Blackfriday (Blackfriday Issue #404) that doesn’t allow wrapping Markdown elements with <div> tags (so that a user can assign classes, etc. to those div blocks). So this feature had to be implemented at the expense of a nasty hack demonstrated here. HTML5 does not allow align, width, etc. attributes within the table tag [ Ref ]. So instead ox-hugo simply wraps the table with a div with a class.

Table name

(Last modified on Sat Oct 26, 2019)

Testing #+name and table.

Image with Hugo figure shortcode parameters set using ATTR_HTML

(Last modified on Wed Sep 4, 2019)

Figure captions with markup.

Table caption

(Last modified on Wed Sep 4, 2019)

The caption can contain be emphasized using the usual markup characters too. Table 1: Awesome table h1 h2 h3 abc def ghi Some text. Table 2: Another awesome table with a link h1 h2 h3 jkl mno pqr Some more text. Table 3: Third table — Caption with em-dash – and – en-dash h1 h2 h3 stu vwx yz

Image captions

(Last modified on Wed Sep 4, 2019)

Figure captions with markup.

Link to headings by name

(Last modified on Fri Aug 2, 2019)

Alpha 101

1 Beta …

Links outside the same post

(Last modified on Fri Aug 2, 2019)

ox-hugo Issue #30 External links with search options Links between documents can contain some search options. Only links to a heading with a :CUSTOM_ID property will be resolved to the appropriate location in the linked file. Links to headlines and links to targets will be resolved to the containing file. Link to CUSTOM_ID Link to a headline Link to a target Internal links Internal links point to targets in the current subtree that will be exported to the same Hugo post as the link source.

Source block following a list

(Last modified on Fri Aug 2, 2019)

Test to verify rendering of a source block immediately following a plain list, and even a list following a heading following a source block.

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.68.3 (commit 157669a0) .
[Test Site home | ox-hugo home]