Kaushal Modi
0530645d73
Support #+attr_html and #+attr_css above fixed width blocks
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/319
Test page: https://ox-hugo.scripter.co/test/posts/org-babel-results/
6 years ago
Kaushal Modi
a9913113e0
Update test for Org Babel Results block
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/319
6 years ago
Kaushal Modi
1dbf3cfd4e
Improve the footnote wrapping when a zh/ja lang post has English too
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/320#issuecomment-577228234
6 years ago
Kaushal Modi
4d3890dfaf
Do not insert spaces when unwrapping footnote text for CJK langs
6 years ago
Kaushal Modi
f95f4d5744
Add a source block export example
...
This is to simply check that ox-hugo doesn't remove any indentation
from the code in src blocks.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/314
6 years ago
Kaushal Modi
4994463318
Support Radio Targets
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/313 .
6 years ago
Kaushal Modi
3427a07690
Update a test based on the prev commit about url encoding
6 years ago
Kaushal Modi
23c061c7b3
Enable url encoding of links
...
Blackfriday auto-encoded spaces in Markdown links just fine, but
Goldmark/Commonmark does not do that.
6 years ago
Kaushal Modi
2d055bafd6
Minor tweak to a test
...
Remove unexpected newline from the last line of an equation block.
6 years ago
Kaushal Modi
782741f5b1
Do auto-unwrapping of multi-byte chars only for Chinese locale
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/300 .
6 years ago
Kaushal Modi
463d2f319e
Add an example of creating an Org macro in lieu of a Hugo shortcode
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/303
6 years ago
Kaushal Modi
7f3503cecb
ox-blackfriday: Fix lack of blank line before Markdown table
...
.. if the caption is not present.
Fixes https://github.com/kaushalmodi/ox-hugo/pull/302 .
Credit: @titaniumbones for finding the bug and proposing a fix.
6 years ago
Kaushal Modi
04e1f3f295
Finishing commit ddd68c1150
7 years ago
Kaushal Modi
ddd68c1150
Add links in figure and table caption tests
...
https://www.reddit.com/r/emacs/comments/czob4w/links_in_caption_for_images/
7 years ago
Kaushal Modi
470a708152
Minor tweak to commit 6ab67efc56
7 years ago
Kaushal Modi
6ab67efc56
Retain markup in titles when deriving them for internal/x-post links
7 years ago
Kaushal Modi
ed5df37e18
Add a workaround for yet another Blackfriday issue
...
Blackfriday does not understand where a plain list ends.. sigh.
- https://github.com/russross/blackfriday/issues/556
- https://discourse.gohugo.io/t/possible-regression-in-v0-55-5-regarding-lists-containing-code-blocks/18502/4?u=kaushalmodi
7 years ago
Kaushal Modi
301e072ddd
Add another test case for source blocks in lists
7 years ago
Kaushal Modi
99a26c9126
For cross-post links without desc, autoset it to linked head titles
7 years ago
Kaushal Modi
dce680eedf
Add links without descriptions to the cross-post linking tests
7 years ago
Kaushal Modi
4c34d42267
Wrap verse blocks with <p class="verse"> .. </p>
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/281 .
7 years ago
Kaushal Modi
1d881ea75d
Minor fixes in tests
7 years ago
Folkert van der Beek
ed4f18066c
Convert internal links for subtree exports
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/30 .
- Locate correct subtree to be exported
- Made CUSTOM_ID references unique
- Updated .md files with unique CUSTOM_ID references
- Workaround to prevent exporting of empty special blocks
- Mark preprocessed buffer as unmodified
- Support crosspost custom-id, id and fuzzy link types
- Update test site with cross-post links
- Require 'org-id in setup-ox-hugo.el to handle ID links
- Add instruction to handle ID links to test site
- Kill the preprocessed buffer after exporting
- Fix check for non-nil destination-filename
- Support preprocessing of cross-post "fuzzy" and "id" type links
- Support section paths in the preprocessing buffer
- Retrieve #+HUGO_SECTION keyword from in-buffer settings
7 years ago
Kaushal Modi
76d2175f77
Add a test for blockquotes in numbered lists
7 years ago
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
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
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
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
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
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
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
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
03c146e7cd
Fix an Org tag for the "front-matter extra" tests
8 years ago