.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 Jun 26, 2022 21:18 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:


TOC with all headings (post-unnumbered, TOC-numbered)

(Last modified on Tue Apr 5, 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 #


TOC with all headings (numbered, except for selected unnumbered)

(Last modified on Tue Apr 5, 2022)

1 Post sub-heading 1 #

1.1 Post sub-heading 1.1 #

1.1.1 Post sub-heading 1.1.1 #

1.2 Post sub-heading 1.2 #

1.3 Post sub-heading 1.3 #

2 Post sub-heading 2 #

2.1 Post sub-heading 2.1 #

2.2 Post sub-heading 2.2 #

2.2.1 Post sub-heading 2.2.1 #

Post …

Link to headings by name

(Last modified on Tue Apr 5, 2022)

Alpha 101 #

1 …

.dir-locals.el test

(Last modified on Tue Apr 5, 2022)

Test setting of few Org Hugo variables via .dir-locals.el.

Table Styling with ATTR_HTML and ATTR_CSS

(Last modified on Mon Apr 4, 2022)

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 Mon Apr 4, 2022)

Testing #+name and table.

Table caption

(Last modified on Mon Apr 4, 2022)

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

Links to tables

(Last modified on Mon Apr 4, 2022)

Test for internal links to table references.

Awesome title with % symbol

(Last modified on Tue Mar 29, 2022)

Testing a post with a percent symbol in the title. Sub-heading with % symbol # Sub-heading also exported correctly

Use Org Code markup for kbd tag

(Last modified on Mon Mar 21, 2022)

Here the Org code markup is explicitly specified to be used for <kbd> tag generation by setting EXPORT_HUGO_USE_CODE_FOR_KBD property to t. So ~C-h f~ will show up as <kbd>C-h f</kbd>. Example: Few of Emacs help keybindings: C-h f, C-h v Test auto-protection of angle brackets: S-<left>

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]