Citations with captions
tags: citations pandoc caption figure plantuml
Description/Summary
This test tests the following:
- Pandoc leave the HTML
spantags as-is. - Pandoc does not escape the
<in thefigureshortcodes with captions (in general:{{< .. >}}shortcodes that could wrap across lines). - While Pandoc auto-wraps the re-written Markdown, it also wraps the
{{< .. >}}shortcodes. The test checks that such “wrapped shortcodes” get unwrapped.
Content
ox-hugo Issue
#191
rectangle "<html>, <body>, etc." as a {
rectangle "<div>..." as b #antiquewhite {
rectangle "<video>...\n\n\n" as c
}
}
Code Snippet 1: Nested Boxes using PlantUML
Figure 1: PlantUML generated figure showing nested boxes
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.
Resources
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Citations with captions" | |
| Title | "Citations with captions" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/citations-with-captions/" | |
| RelPermalink | "/posts/citations-with-captions/" | |
| Data |
| |
| NextPage | Parsing notes from LOGBOOK | |
| PrevPage | HUGO_DRAFT not set, TEST__DONE state | |
| NextInSection | Parsing notes from LOGBOOK | |
| PrevInSection | HUGO_DRAFT not set, TEST__DONE state |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| date | time.Time | 2018-08-19 00:00:00 +0000 UTC |
| description | string | " This test tests the following:\n\n - Pandoc leave the HTML `span` tags as-is.\n - Pandoc does not escape the `<` in the `figure` shortcodes with\n captions (in general: `{{</* .. */>}}` shortcodes that could wrap across\n lines).\n - While Pandoc auto-wraps the re-written Markdown, it also wraps the\n `{{</* .. */>}}` shortcodes. The test checks that such \"wrapped\n shortcodes\" get unwrapped.\n " |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-05-31 17:36:16 -0400 -0400 |
| publishdate | time.Time | 2018-08-19 00:00:00 +0000 UTC |
| tags | []string | "citations" "pandoc" "caption" "figure" "plantuml" |
| title | string | "Citations with captions" |
Resources (Debug)
| Resource Variable | Value |
|---|---|
| Name | "nested-boxes.svg" |
| Title | "nested-boxes.svg" |
| ResourceType | "image" |
| Permalink | "https://ox-hugo.scripter.co/test/posts/citations-with-captions/nested-boxes.svg" |
| RelPermalink | "/posts/citations-with-captions/nested-boxes.svg" |
| Params |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "9bb28b64051faeb318a77e66a3e8823e" |
| BaseFileName | "index" |
| TranslationBaseName | "index" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "index.md" |
| Dir | "posts/citations-with-captions/" |
| Ext | "md" |
| Path | "posts/citations-with-captions/index.md" |