Citations Example (TOML)
Description/Summary
Test the parsing of Pandoc Citations, while also testing that ox-hugo exported Markdown doesn’t get broken – TOML front-matter.Content
ox-hugo
Issue
#175
Section 1 #
Here is a test example file with an in-text citation where someone important says something important (e.g. Loncar (2016)). And here is another bit of blah with a footnote citation.1
See Section 2.
Section 2 #
Content in section 2.
Testing random Hugo shortcodes #
Text containing Markdown
Some text.
Text not containing **Markdown**This link will generate a relref
shortcode: Here’s a link to an
arbitrarily picked post: Citation Linking.
Testing ox-hugo inserted HTML div tags #
bold italics
Testing tables #
Header 1 | Header 2 | Header 3 |
---|---|---|
a | b | c |
d | e | f |
Testing fenced code blocks #
(message "Hello World")
Lists Galore #
- item1 in list
- item2 in list. The following list is in a separate list body.
- L1 – foo1
- L1 – foo2
- L2 – bar1
- L2 – bar2
- L3 – baz1
- L3 – baz2
- L4 – zoo1
- L4 – zoo2
- L5 – numbered1
- L5 – numbered2
- L4 – zoo1
- L4 – zoo2
- L3 – baz1
- L3 – baz2
- L2 – bar1
- L2 – bar2
- L1 – foo1
- L1 – foo2
Citation key with underscore #
Ox-hugo manual (Modi, Kaushal (2018))
References #
Eilan, Naomi. 2016. “You Me and the World.” Analysis 76 (3): 311–24.
Giovanelli, Marco. 2016. “"...But I Still Can’t Get Rid of a Sense of Artificiality" The Reichenbach–Einstein Debate on the Geometrization of the Electromagnetic Field.” Studies in History and Philosophy of Science 54: 35–51.
Loncar, Samuel. 2016. “Why Listen to Philosophers? A Constructive Critique of Disciplinary Philosophy.” Metaphilosophy 47 (1): 3–25.
Modi, Kaushal. 2018. Ox-Hugo: A Carefully Crafted Org Exporter Back-End for Hugo. North Carolina, USA. https://ox-hugo.scripter.co/.
Thompson, Morgan, Toni Adleberg, Sam Sims, and Eddy Nahmias. 2016. “Why Do Women Leave Philosophy? Surveying Students at the Introductory Level.”
-
See (Thompson et al. 2016). ↩︎
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Citations Example (TOML)" | |
Title | "Citations Example (TOML)" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/citations-example-toml/" | |
RelPermalink | "/posts/citations-example-toml/" | |
Data |
| |
NextPage | Citation using org-ref | |
PrevPage | Citations Example (YAML) | |
NextInSection | Citation using org-ref | |
PrevInSection | Citations Example (YAML) |
Page Params (Debug)
Key | Type | Value |
---|---|---|
description | string | " Test the parsing of Pandoc Citations, while also testing that ox-hugo\n exported Markdown doesn't get broken -- TOML front-matter.\n " |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-02-10 11:34:34 -0500 -0500 |
tags | []string | "citations" "pandoc" "toml" |
title | string | "Citations Example (TOML)" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "a4cf70d302d59528293305f0b3c22ed7" |
BaseFileName | "citations-example-toml" |
TranslationBaseName | "citations-example-toml" |
Lang | "en" |
Section | "posts" |
LogicalName | "citations-example-toml.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/citations-example-toml.md" |