.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ 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 Mar 05, 2024 19:24 UTC.


This page was created/modified in commit 568aa72 "Allow verbatim `<` and `>` characters in Org source" on 2021-12-13.
Markdown source of this page

Paired shortcodes using special blocks (Named Arguments)

tags: shortcode paired special-block arguments named


Description/Summary

Tests for paired shortcodes with named arguments.

Content

Test case for feature requested in ox-hugo Issue #119.

Paired markdown shortcode #

In the below example, "foo bar" will be the arg1 argument, and "color: red; text-align: center;" will be the arg2 argument.

Content with emphasis characters is rendered.

Paired non-markdown (default) shortcode #

In the below example, "foo" will be the arg1 argument, and "color:green;" will be the arg2 argument.

The Markdown _emphasis_ characters are !! NOT !! rendered.

Page (Debug)

Page VariableValue
Name "Paired shortcodes using special blocks (Named Arguments)"
Title "Paired shortcodes using special blocks (Named Arguments)"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/paired-shortcodes-special-blocks-named-arguments/"
RelPermalink "/posts/paired-shortcodes-special-blocks-named-arguments/"
Data
page.Data{} (type:page.Data)
NextPagePage using the Headless Page Bundle X
PrevPagePaired Shortcodes using special blocks (No Arguments)
NextInSectionPage using the Headless Page Bundle X
PrevInSectionPaired Shortcodes using special blocks (No Arguments)

Page Params (Debug)

KeyTypeValue
descriptionstring "Tests for paired shortcodes with named arguments."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2021-12-13 14:31:25 -0500 -0500
tags[]string "shortcode" "paired" "special-block" "arguments" "named"
titlestring "Paired shortcodes using special blocks (Named Arguments)"

File Object (Debug)

FileInfo VariableValue
UniqueID "aecdc351ec31de508e6f5c3d679182eb"
BaseFileName "paired-shortcodes-special-blocks-named-arguments"
TranslationBaseName "paired-shortcodes-special-blocks-named-arguments"
Lang "en"
Section "posts"
LogicalName "paired-shortcodes-special-blocks-named-arguments.md"
Dir "posts/"
Ext "md"
Path "posts/paired-shortcodes-special-blocks-named-arguments.md"

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]