Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use or   to separate the tags
Update the test to include the scenario where tags are used on sub-headings which will be rendered as list items.
- Loading branch information
1 parent
5b3f856
commit 77bb4b8
Showing
5 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
+++ | ||
title = "Export with sub-heading tags" | ||
description = "Export tags of sub-headings" | ||
tags = ["headings", "tags", "subtree"] | ||
tags = ["headings", "tags", "subheading-tags"] | ||
draft = false | ||
+++ | ||
|
||
`ox-hugo` Issue #[513](https://github.com/kaushalmodi/ox-hugo/issues/513) | ||
|
||
|
||
## Sub heading <span class="tag"><span class="abc">abc</span> <span class="def">def</span> <span class="_abc_def_ghi">@abc def ghi</span> <span class="ghi_jkl">ghi-jkl</span></span> {#sub-heading} | ||
## Sub heading level 1 <span class="tag"><span class="abc">abc</span><span class="def">def</span><span class="_abc_def_ghi">@abc def ghi</span><span class="ghi_jkl">ghi-jkl</span></span> {#sub-heading-level-1} | ||
|
||
|
||
### Sub heading level 2 <span class="tag"><span class="abc">abc</span><span class="def">def</span><span class="_abc_def_ghi">@abc def ghi</span><span class="ghi_jkl">ghi-jkl</span></span> {#sub-heading-level-2} | ||
|
||
<!--list-separator--> | ||
|
||
- Sub heading level 3 <span class="tag"><span class="abc">abc</span><span class="def">def</span><span class="_abc_def_ghi">@abc def ghi</span><span class="ghi_jkl">ghi-jkl</span></span> | ||
|
||
<!--list-separator--> | ||
|
||
- Sub heading level 4 <span class="tag"><span class="abc">abc</span><span class="def">def</span><span class="_abc_def_ghi">@abc def ghi</span><span class="ghi_jkl">ghi-jkl</span></span> |