-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't force the final front-matter to YAML because of Pandoc
- Loading branch information
1 parent
c6949a5
commit 3dcec7e
Showing
5 changed files
with
128 additions
and
20 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
15 changes: 8 additions & 7 deletions
15
test/site/content/posts/citations-example.md → ...e/content/posts/citations-example-toml.md
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
title: "Citations Example (YAML)" | ||
description: > | ||
Test the parsing of Pandoc Citations, while also testing that ox-hugo | ||
exported Markdown doesn't get broken -- YAML front-matter. | ||
tags: ["pandoc", "citeproc", "yaml"] | ||
draft: false | ||
--- | ||
|
||
`ox-hugo` Issue | ||
\#[175](https://github.com/kaushalmodi/ox-hugo/issues/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](#citation-example-section-2). | ||
|
||
## Section 2 {#citation-example-section-2} | ||
|
||
Content in section 2. | ||
|
||
## References {#references} | ||
|
||
<div id="refs .references"> | ||
<div></div> | ||
|
||
|
||
<div id="ref-eilan2016"> | ||
<div></div> | ||
|
||
Eilan, Naomi. 2016. "You Me and the World." *Analysis* 76 (3): 311--24. | ||
|
||
</div> | ||
|
||
<div id="ref-giovanelli2016"> | ||
<div></div> | ||
|
||
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. | ||
|
||
</div> | ||
|
||
<div id="ref-loncar2016"> | ||
<div></div> | ||
|
||
Loncar, Samuel. 2016. "Why Listen to Philosophers? A Constructive | ||
Critique of Disciplinary Philosophy." *Metaphilosophy* 47 (1): 3--25. | ||
|
||
</div> | ||
|
||
<div id="ref-thompson2016"> | ||
<div></div> | ||
|
||
Thompson, Morgan, Toni Adleberg, Sam Sims, and Eddy Nahmias. 2016. "Why | ||
Do Women Leave Philosophy? Surveying Students at the Introductory | ||
Level." | ||
|
||
</div> | ||
|
||
|
||
</div> <!-- ending references --> | ||
|
||
[^1]: See (Thompson et al. 2016). |