fvdbeek
5d2f56c094
Fix support for spaces in paths referencing to images ( #278 )
...
* Unhexify path to allow spaces (fixes #277 )
* Added image with space in filename
* Updated manual
* Updated test site
* Added image in static directory
* Added .md file
7 years ago
Kaushal Modi
98e6b69f96
Commit remaining portion of the test update done in previous commit
7 years ago
Kaushal Modi
73fd04fdec
Add a test showing the copying of image reference in link descr
...
Ref: https://github.com/kaushalmodi/ox-hugo/pull/276
7 years ago
Kaushal Modi
45cbd5eff3
Add a test for a source block following a list
7 years ago
Kaushal Modi
ad9eb05203
Do not insert newline/space between multibyte chars (e.g. Chinese)
...
https://emacs-china.org/t/ox-hugo-auto-fill-mode-markdown/9547/5
7 years ago
Kaushal Modi
25e6aea7ad
Add test that uses embedded HTML with <video> tag
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/275
7 years ago
Kaushal Modi
434cfff4c1
Use org-trim instead of string-trim in the issue #272 test
...
- string-trim is not available on all emacs versions
7 years ago
Kaushal Modi
206de0e82d
Revert "Don't export the tests added in previous commit during "make test""
...
This reverts commit 83e5f78eef .
7 years ago
Kaushal Modi
83e5f78eef
Don't export the tests added in previous commit during "make test"
7 years ago
Kaushal Modi
f8b6ab2619
Add test demoing the use of function call for Org keyword value
...
Thanks @xeijin for this idea!
Ref: https://github.com/kaushalmodi/ox-hugo/issues/272
7 years ago
Kaushal Modi
5be9bae6fe
Inherit the EXPORT_AUTHOR property too
7 years ago
Kaushal Modi
40c56b4656
Update existing tests for the change to org-hugo-slug in last commit
7 years ago
Kaushal Modi
2456ee887a
org-hugo-slug: Convert "+" chars in headings to " plus "
7 years ago
Kaushal Modi
773f65a663
Update docs on using `description` to gen `summary` for Hugo v0.55.0
...
References:
- https://gohugo.io/news/0.55.0-relnotes/
- 3a62d54745
- https://github.com/gohugoio/hugo/pull/5806
Fixes https://github.com/kaushalmodi/ox-hugo/issues/267 .
7 years ago
Kaushal Modi
5e2e52b898
Fix for deprecations on Hugo v0.55.0
7 years ago
Kaushal Modi
6bab5b86da
Pending cleanup after last commit
7 years ago
Kaushal Modi
86a6196a43
Make #+exclude_tags work
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/265
7 years ago
Kaushal Modi
57f0c8c91d
Change to reflect the url escaping change in Org mode upstream
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/264
7 years ago
Kaushal Modi
b31105a11e
Fix the escaping of \{ and \} for Blackfriday parsing to work
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/258 .
7 years ago
Kaushal Modi
e6e58a6e7e
Revert workaround done in 30f1e1e735
...
Now that this bug is fixed in Org 9.2.
See:
- https://lists.gnu.org/r/emacs-orgmode/2019-01/msg00052.html
- 34e5dcfb06
Fixes https://github.com/kaushalmodi/ox-hugo/issues/252 .
7 years ago
Kaushal Modi
798df62efb
Update hugo-search-fuse-js
7 years ago
Kaushal Modi
cbd8f8375a
Move location of a test SVG file
7 years ago
Kaushal Modi
6731776300
Support em-dash, en-dash, etc. in inlined SVG captions
7 years ago
Kaushal Modi
527e53df50
Support captions for inlined SVGs
7 years ago
Kaushal Modi
e57f417664
Support inlining SVGs
...
Introduce a new HTML attribute:
#+attr_html: :inlined t
Fixes https://github.com/kaushalmodi/ox-hugo/issues/253 .
7 years ago
Kaushal Modi
14ecc116c5
Minor: Remove duplicate tags from few tests
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/252
7 years ago
Kaushal Modi
47d8dd1ac4
Apply the org-todo span tag to TODO headings demoted to lists too
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/250
7 years ago
Kaushal Modi
43557daaea
Fix: Don't drop the char after -- or --- in post titles
7 years ago
Kaushal Modi
87b3dcdefd
Fix: Effective heading level needs to be calc for non-zero loffset
...
.. which defaults to 1.
7 years ago
Kaushal Modi
4a768c2f8b
Fix (error (void-function org-hugo-auto-export-mode)) during make
7 years ago
Kaushal Modi
66d632be20
Use the correct approach for enabling auto-fill-mode
...
auto-fill-mode is not a traditional minor mode. And even if it were a
minor mode, the Emacs manual explicitly suggests to NOT use (mode
. MODENAME) convention for enabling minor modes.
7 years ago
Kaushal Modi
64a34812a0
Refactoring to use org-hugo-auto-export-mode elsewhere in the repo
7 years ago
Kaushal Modi
43dd925902
Update the .dir-locals.el files to use org-hugo-auto-export-mode
7 years ago
Kaushal Modi
1e7fcde990
Update PATH for Travis so that Pandoc bins are found during test
7 years ago
Kaushal Modi
3bbf8abe64
Test: Use Pandoc binaries from ${OX_HUGO_TMP_DIR}/pandoc/bin
7 years ago
Kaushal Modi
a4714492fd
Minor refactoring to more apt names
7 years ago
Kaushal Modi
30f1e1e735
Compensate for a regression in tag collection order in Org 9.2
...
The order in which the tags from FILETAGS and from headings are
collected together seems to have changed between Org 9.1.x and 9.2.
Need to investigate later.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/252
7 years ago
Kaushal Modi
db9ecc7208
Update pandoc generated reference md files; bump Pandoc ver to 2.5
...
Seems like Pandoc Markdown writer has some changes in how the
citations are written. The reference output in this commit is
generated using Pandoc 2.5.
7 years ago
Kaushal Modi
2c20a103be
Improve Image Links section in docs
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/246
7 years ago
Kaushal Modi
8472cf2d86
Update test and doc site themes
7 years ago
Kaushal Modi
237ca04fc3
Do not export src-block string as "Code Snippet" if lang is not en
...
I have decided to keep the element strings in English in the link
anchors for now.
7 years ago
Kaushal Modi
da0a1b76fd
Add new defcustom org-hugo-link-desc-insert-type
...
This defcustom defaults to nil to retain the old behavior.
Set this to t (in your config or .dir-locals.el) to prepend link
descriptions for tables, source blocks and figures with "Table", "Code
Snippet" and "Figure".
Fixes https://github.com/kaushalmodi/ox-hugo/issues/233 .
7 years ago
Kaushal Modi
676d931c0a
Generate code/table/figure anchors of the form "prefix--NAME"
...
.. where NAME is the "#+name" as set in the Org source for that Org
element.
Earlier the anchors contained the code/table/figure ordinal instead
which would result is very non-permanent links.
Fixes https://github.com/kaushalmodi/ox-hugo/issues/234 .
7 years ago
Kaushal Modi
ef76a132f6
Add a test to verify setting of Org Hugo vars using .dir-locals.el
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/101
7 years ago
Kaushal Modi
03c146e7cd
Fix an Org tag for the "front-matter extra" tests
8 years ago
Kaushal Modi
ca0e602f7e
Add "front-matter extra" feature
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/226 .
8 years ago
Kaushal Modi
aeb48b0d8c
Update themes #doc #test
8 years ago
Kaushal Modi
2ee6036d63
Revert "For consistency, make the audio front-matter a list too"
...
This reverts commit c0f3ec57f4 .
OK, now I remember why the audio front-matter was **not** made a
list.. because the default opengraph.html template in Hugo assumes this
to be not a list:
2a6b4bd40f/tpl/tplimpl/embedded/templates/opengraph.html (L20) .
Ref: https://github.com/kaushalmodi/ox-hugo/issues/220#issuecomment-427959353
8 years ago
Kaushal Modi
c0f3ec57f4
For consistency, make the audio front-matter a list too
...
.. like the videos and images front-matter.
8 years ago
Kaushal Modi
11717d108b
Remove the erroneous empty-tag test file
8 years ago