Skip to content

Commit

Permalink
Add 'headings' tag to few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jan 10, 2022
1 parent d3d0729 commit 497d588
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
51 changes: 26 additions & 25 deletions test/site/content-org/all-posts.org
Expand Up @@ -423,66 +423,67 @@ and checking that the file got copied again.
</video>
#+end_export
[[https://sample-videos.com/][Video source]]
* Setting heading anchors
* Heading :headings:
** Setting heading anchors :anchor:
:PROPERTIES:
:EXPORT_FILE_NAME: setting-heading-anchors
:EXPORT_DATE: 2017-07-12T17:05:39-04:00
:END:
** Heading 1 of the post
*** Heading 1 of the post
:PROPERTIES:
:CUSTOM_ID: cool-ref-1
:END:
Something
*** Heading 1.1 of the post
**** Heading 1.1 of the post
:PROPERTIES:
:CUSTOM_ID: cool-ref-1.1
:END:
Something else
** Heading 2 of the post
*** Heading 2 of the post
:PROPERTIES:
:CUSTOM_ID: cool-ref-2
:END:
Something 2
*** Heading 2.1 of the post
**** Heading 2.1 of the post
:PROPERTIES:
:CUSTOM_ID: cool-ref-2.1
:END:
Something 2.1
* Post heading with crazy characters
** Post heading with crazy characters
:PROPERTIES:
:EXPORT_FILE_NAME: post-heading-slugs
:EXPORT_DATE: 2017-07-12T13:46:33-04:00
:END:
** Releasing version 1.1
** Foo ( Bar ) Baz
** (Foo)Bar.Baz&Zoo
*** Releasing version 1.1
*** Foo ( Bar ) Baz
*** (Foo)Bar.Baz&Zoo
- ~.~ → ~dot~
- ~&~ → ~and~
** C++
*** C++
- ~+~ → ~plus~
** Hey! I have a link [[https://example.org][here]] (Awesome!)
** Este título es en español
** Non-English titles
*** ÂÊÎÔÛ
*** ÁÉÍÓÚÝ
*** ÀÈÌÒÙ
*** ÄËÏÖÜ
*** ÃÐÑÕÞ
*** Ç
** Headings with HTML
*** Checklist [1/3]
*** Hey! I have a link [[https://example.org][here]] (Awesome!)
*** Este título es en español
*** Non-English titles
**** ÂÊÎÔÛ
**** ÁÉÍÓÚÝ
**** ÀÈÌÒÙ
**** ÄËÏÖÜ
**** ÃÐÑÕÞ
***** Ç
*** Headings with HTML
**** Checklist [1/3]
Above title would render to ~Checklist <code>[1/3]</code>~ in
Markdown.
**** DONE Item 1
***** DONE Item 1
Above would render to ~<span class="todo DONE_">DONE </span> Item 1~
in Markdown.
**** TODO Item 2
***** TODO Item 2
Above would render to ~<span class="todo TODO_">TODO </span> Item 2~
in Markdown.
**** TODO Item 3
***** TODO Item 3
Above would render to ~<span class="todo TODO_">TODO </span> Item 3~
in Markdown.
*** Version 0.1 <2017-10-11 Wed>
**** Version 0.1 <2017-10-11 Wed>
Above title would render to ~Version 0.1 <span
class="timestamp-wrapper"><span class="timestamp">&lt;2017-10-11
Wed&gt;</span></span>~ in Markdown.
Expand Down
3 changes: 2 additions & 1 deletion test/site/content/posts/post-heading-slugs.md
@@ -1,6 +1,7 @@
+++
title = "Post heading with crazy characters"
date = 2017-07-12T13:46:33-04:00
tags = ["headings"]
draft = false
+++

Expand Down Expand Up @@ -45,7 +46,7 @@ draft = false
### ÃÐÑÕÞ {#ãðñõþ}


### Ç {#ç}
#### Ç {#ç}


## Headings with HTML {#headings-with-html}
Expand Down
1 change: 1 addition & 0 deletions test/site/content/posts/setting-heading-anchors.md
@@ -1,6 +1,7 @@
+++
title = "Setting heading anchors"
date = 2017-07-12T17:05:39-04:00
tags = ["headings", "anchor"]
draft = false
+++

Expand Down

0 comments on commit 497d588

Please sign in to comment.