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
3d590d0525
Print the full pandoc command in Messages
8 years ago
Kaushal Modi
96d13b1b96
Convert the Pandoc inserted ":::" to more sensible div wrappers
8 years ago
Kaushal Modi
db1025c8b0
Apparently the "--filter pandoc-citeproc" is redundant here
8 years ago
Kaushal Modi
175d532e0a
[travis] Change language to R so that pandoc comes installed
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
eb85f26d78
Move Pandoc Citation code to ox-hugo-pandoc-cite.el
8 years ago
Kaushal Modi
b111d2a95e
Rename: HUGO_PANDOC_CITEPROC -> HUGO_PANDOC_CITATIONS
8 years ago
Kaushal Modi
65e3766a08
Move the BIBLIOGRAPHY parsing to org-hugo--after-export-function
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
a1a2dbfbeb
Add note about org-footnote-section
8 years ago
Kaushal Modi
80293a230a
Fix typo: data->date
8 years ago
Cole Lyman
ca690c468d
Added colelyman's site.
8 years ago
Kaushal Modi
ae1f6ea714
Update a test
...
.. for the change in recent commit
41710e542a .
8 years ago
Kaushal Modi
c5ba89fbc8
Add clarification about TODO and DONE keywords to the ox-hugo manual
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
d25d5d5f6a
Minor refactoring
8 years ago
Kaushal Modi
c9b825f15e
Documentation update related to new draft related defcustoms
8 years ago
Kaushal Modi
85b1377948
Add new defcustom org-hugo-todo-keywords
...
This allows a user to customize the todo, draft and done states for
the ox-hugo export flow.
Ref:
- https://github.com/kaushalmodi/ox-hugo/issues/171
- https://raw.githubusercontent.com/akirak/emacs.d/master/org/init-org-hugo.el
> .. According to the spec of ox-hugo, a sub-tree is a draft if its
> TODO state is either TODO or DRAFT. However, because there are
> situations where I use NEXT to indicate a draft to work on ..
8 years ago
Kaushal Modi
b66be3309d
Update Emacs version for Travis tests
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
cd839d60fd
Checkdoc fixes
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
Dominik Schrempf
b350b8772c
Add user dschrempf.
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
Tom Dye
c1a4bf5065
Update users.toml ( #1 )
8 years ago
Kaushal Modi
cbda4f7011
Check that "menu" and "resources" have list values
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/165 .
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
dcfacbd8d8
Use Hugo 0.42 theme composition feature for doc site
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