Kaushal Modi
bf76cc7e96
Document the csl meta-data
8 years ago
Kaushal Modi
f2a65175e3
Move the location of test .bib files
8 years ago
Kaushal Modi
dd16904e31
Add test for complex lists for Pandoc output
...
Remove that caveat from manual -- Doesn't seem to apply much anymore as
the Pandoc output seems to work with Blackfriday in all these tests.
8 years ago
Kaushal Modi
00a6794684
Fix fenced code blocks in Pandoc output
8 years ago
Kaushal Modi
83858559ce
More citation tests
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/177 .
8 years ago
Kaushal Modi
03f7fa45f7
Support Pandoc link-citations meta-data; add test
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/177
8 years ago
Kaushal Modi
c8770f4bdb
Disable Pandoc fenced divs, now allowing ox-hugo inserted HTML divs
...
This also drastically reduced the Pandoc output cleanup complication.
8 years ago
Kaushal Modi
4e4e7d21d4
Use HTML class instead of id for "references"
8 years ago
Kaushal Modi
eaaed01f6b
Make Pandoc output Markdown footnote style consistent with ox-hugo
8 years ago
Kaushal Modi
19cf97ddaf
Fix typo in a test
8 years ago
Kaushal Modi
b78ddba898
Restore Ox-hugo exported Markdown file if Pandoc output has no refs
8 years ago
Kaushal Modi
cb2558b65a
Fix case where citations are enabled, but no citations exist
8 years ago
Kaushal Modi
e62cc259d2
Make Pandoc export to Blackfriday compatible Markdown table
...
Thanks to Daniel Stall from
https://groups.google.com/d/msg/pandoc-discuss/PvMKmgVeO3w/oqP6mKHoAgAJ
Add "-simple_tables+pipe_tables" to "-t markdown-citations".
8 years ago
Kaushal Modi
7c2a51ff7f
Minor refactoring of tests
...
Inherit the common Pandoc citation meta data for the Citations TOML
and YAML tests.
8 years ago
Kaushal Modi
3dcec7e27e
Don't force the final front-matter to YAML because of Pandoc
8 years ago
Kaushal Modi
c6949a5d89
Add few comments to the citations test
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/175
8 years ago
Kaushal Modi
96d13b1b96
Convert the Pandoc inserted ":::" to more sensible div wrappers
8 years ago
Kaushal Modi
f2c1ab9520
More fixing of Pandoc output
8 years ago
Kaushal Modi
ac22a16a07
Replace pandoc ref ID's to HTML ID's
8 years ago
Kaushal Modi
c4251abb78
Delete lines matching "^:::$"
8 years ago
Kaushal Modi
a17c136f6c
Fix Pandoc butchering the Hugo shortcodes
8 years ago
Kaushal Modi
e94c9d54b2
Don't use Pandoc inserted meta-data
...
Pandoc introduced its citations related meta-data like bibliography
and nocite which I did not prefer for few reasons:
1. It leaks full paths of the user's bibliography files in public.
2. Those meta-data fields are not needed by Hugo.
3. I like my style of YAML list fields better, it's more concise, and
consistent with the YAML front-matter of non-Pandoc-Citation posts.
8 years ago
Kaushal Modi
b111d2a95e
Rename: HUGO_PANDOC_CITEPROC -> HUGO_PANDOC_CITATIONS
8 years ago
Kaushal Modi
ad2f5d0dbb
Support BIBLIOGRAPHY and pandoc-citeproc
...
This is first commit of a series of commits to support
pandoc-citeproc.
New keywords/properties:
- HUGO_PANDOC_CITEPROC
- BIBLIOGRAPHY
Ref: https://github.com/kaushalmodi/ox-hugo/issues/175
8 years ago
Kaushal Modi
80293a230a
Fix typo: data->date
8 years ago
Kaushal Modi
ae1f6ea714
Update a test
...
.. for the change in recent commit
41710e542a .
8 years ago
Kaushal Modi
41710e542a
Use org-done-keywords; Remove 2 recently added defcustoms
...
- Removed defcustoms: org-hugo-todo-keywords and
org-hugo-default-draft-state
Ref:
https://github.com/kaushalmodi/ox-hugo/issues/171#issuecomment-403781566
8 years ago
Kaushal Modi
9fe197eb90
Add org-hugo-default-draft-state defcustom
...
- Break out draft state parsing to a separate function
org-hugo--parse-draft-state.
- Add tests for combinations of setting (and not setting)
EXPORT_HUGO_DRAFT property and Org TODO states for
drafting/undrafting a subtree post.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/171
8 years ago
Kaushal Modi
50cddf5cca
Handle empty Org Special Blocks
8 years ago
Kaushal Modi
2f50f141ff
Workaround for Blackfriday issue 239 for example blocks too
...
- https://github.com/russross/blackfriday/issues/239
- https://github.com/kaushalmodi/ox-hugo/issues/57
8 years ago
Kaushal Modi
a69f36ae9d
Add another test for (quote blk with src blk) followed by src blk
...
https://github.com/russross/blackfriday/issues/407
8 years ago
Kaushal Modi
373b3a1678
Update Hugo theme components for test and doc sites
8 years ago
Kaushal Modi
ad98ebf498
Workaround for Blackfriday bug in italicizing links with underscores
...
Replaces underscores with "%5F" (hex code for underscores) in
links (only of http, https, ftp and mailto type).
- Fixes https://github.com/kaushalmodi/ox-hugo/issues/170 .
Revert his commit once
https://github.com/russross/blackfriday/issues/278 gets fixed.
8 years ago
Kaushal Modi
123ccd4cdc
Remove duplicate authors
...
This can very well happen in a scenario like this:
#+setupfile: some-file.org # some-file.org contains "#+author: Foo Bar"
#+author: Foo Bar
8 years ago
Kaushal Modi
70ebc56410
Uncomment a real world example; Update doc and test site themes
8 years ago
Kaushal Modi
4d22bcda67
Add tests to assure that empty sections are supported
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/164
8 years ago
Kaushal Modi
1afb24a8c8
Make the "Table of Contents" heading a div element instead of h2
...
Hard-coding the "Table of Contents" heading to h2 now looked like a
bad idea.. it seems semantically incorrect. So now it is a div tag.
This also allows more flexibility on how to show that "Table of
Contents" heading. See
https://ox-hugo.scripter.co/doc/org-toc/#table-of-contents-heading
for more info.
This is a "breaking change" in the sense that that heading will no
longer auto-render looking like a heading. So user might need to add
some CSS to make it look just like before. See example CSS in the
above doc link.
8 years ago
Kaushal Modi
85b19cc175
Add more tags to the last two tests
8 years ago
Kaushal Modi
af3d42639b
Update test site theme
8 years ago
Kaushal Modi
93b2a334d7
Export the TODO states in the headlines in TOC too
...
Set "#+options: todo:nil" to disable TODO state exports -- both in the
body and TOC.
Fixes https://github.com/kaushalmodi/ox-hugo/issues/163 .
8 years ago
Kaushal Modi
a716fee972
org-hugo--quote-string now returns an empty quoted string by default
8 years ago
Kaushal Modi
442616c9e9
Update hugo-search-fuse-js submodule
8 years ago
Kaushal Modi
cde5cfb980
Update hugo-debugprint submodule
8 years ago
Kaushal Modi
bc70df5527
Update hugo-bare-min-theme for Hugo 0.42
...
Add hugo-search-fuse-js submodule
8 years ago
Kaushal Modi
6325a377d2
Update hugo-bare-min-theme for Hugo 0.42
8 years ago
Kaushal Modi
bbba8fc073
Add example of author>authors front-matter replacement
...
Ref: https://github.com/MunifTanjim/minimo/issues/142
8 years ago
Kaushal Modi
c504e21c62
Leave the front-matter values that would be bigints as strings
8 years ago
Kaushal Modi
49ac57709c
Support links to CUSTOM_ID's of Org files
...
This commit adds more support to cross-linking of Org files, though
only for the per-file export flow.
Now a link like [[./foo.org::#bar]] will export to {{< relref
"foo#bar" >}}.
8 years ago
Kaushal Modi
bf68e6b175
More details/summary tests
8 years ago
Kaushal Modi
c860032e8e
Update an inline HTML -- Special Block test based on prev commit
8 years ago