Skip to content

Commit

Permalink
Add test for #455
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jan 4, 2022
1 parent 971ea8e commit 6fbd0ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/site/content-org/all-posts.org
Expand Up @@ -5454,14 +5454,17 @@ See [[#citation-example-toml-section-2]].
:CUSTOM_ID: citation-example-toml-section-2
:END:
Content in section 2.
*** Testing random Hugo shortcode
*** Testing random Hugo shortcodes
#+begin_mdshortcode
Text containing *Markdown*
#+end_mdshortcode
Some text.
#+begin_myshortcode
Text not containing *Markdown*
#+end_myshortcode

This link will generate a ~relref~ shortcode: Here's a link to an
arbitrarily picked post: [[*Citation Linking][Citation Linking]].
*** Testing ox-hugo inserted HTML div tags
#+begin_foo
*bold* /italics/
Expand Down
5 changes: 4 additions & 1 deletion test/site/content/posts/citations-example-toml.md
Expand Up @@ -23,14 +23,17 @@ See [Section 2](#citation-example-toml-section-2).

Content in section 2.

## Testing random Hugo shortcode
## Testing random Hugo shortcodes

{{% mdshortcode %}} Text containing **Markdown** {{% /mdshortcode %}}

Some text.

{{< myshortcode >}} Text not containing **Markdown** {{< /myshortcode >}}

This link will generate a `relref` shortcode: Here's a link to an
arbitrarily picked post: [Citation Linking]({{< relref "citation-linking" >}}).

## Testing ox-hugo inserted HTML div tags

<div class="foo">
Expand Down

0 comments on commit 6fbd0ca

Please sign in to comment.