Kaushal Modi
9825a5e698
If a link has spaces in it, wrap it in angle brackets
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/376
6 years ago
Hung
a08478af3f
Add tests for linking to other org file
6 years ago
Kaushal Modi
f8e26aaee9
Add test for iframe src within an HTML export block
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/369
6 years ago
Kaushal Modi
96e6bf01d2
Add test for https://github.com/kaushalmodi/ox-hugo/issues/333
6 years ago
Kaushal Modi
a0c4e4ef67
Add and use the {{{issue(..)}}} macro in the issues.org
6 years ago
Kaushal Modi
d6138da6c0
Add tests for issue 360
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/360
6 years ago
Kaushal Modi
7800cbc59c
Ensure that the title front-matter value is always double-quoted
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/350 .
6 years ago
Kaushal Modi
889c6ca244
Escape ] and ( if "](" found together in a LaTeX equation
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/349 .
Add test case for: https://github.com/kaushalmodi/ox-hugo/issues/348 .
6 years ago
Kaushal Modi
b6f4142de2
Add <!--list-separator--> before headings that converted to li items
...
This is to cover the corner case where the previous section could be
ending in a plain list, and we want the current
heading-turned-list-item to merge that that list.
This is possible is the current heading level is 6 or more, or if the
`h' Export Option is set to a lower value by the user.
Related: https://github.com/kaushalmodi/ox-hugo/issues/344
6 years ago
Kaushal Modi
60d6341844
Add the "unsafe" Goldmark option to the test site too
6 years ago
Kaushal Modi
27a4952bd2
Do not add extra spaces after hyphens in headings converted to lists
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/344 .
Ref: https://github.com/gohugoio/hugo/issues/7142
6 years ago
Kaushal Modi
d352cd1bf8
Update Md reference files using pandoc 2.9.2.1
6 years ago
Kaushal Modi
1b649e7b1f
Add example from #335 to the test suite
6 years ago
Kaushal Modi
d9d1ac53f0
Update hugo-bare-min-theme to use MathJax 3.0.1
...
Fixes https://github.com/kaushalmodi/ox-hugo/issues/297
6 years ago
Kaushal Modi
a80b250987
Add a new test from https://github.com/kaushalmodi/ox-hugo/issues/325
6 years ago
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
2143e785a3
Update hugo-debugprint
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
e42a824c32
Support cases where Chinese locale is set as zh_CH, zh_HK, etc.
...
(continuation of the previous commit)
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
65e3424e3c
Switch back to using MathJax v2 until v3.0.1 gets released
...
Ref:
- https://github.com/kaushalmodi/ox-hugo/issues/297#issuecomment-547088639
6 years ago
Kaushal Modi
fd834cc5c9
Update hugo-bare-min-theme
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
b5672ea892
Update hugo-bare-min-theme version
7 years ago
Kaushal Modi
75846c9783
Limit the url-path-and-query override only for older Emacsen
...
Continuation of
3b3f63f9a9 .
7 years ago
Kaushal Modi
3b3f63f9a9
Fix the test failure on emacs 24.4 and 24.5
7 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
cb32ad1b87
Do not sanitize title when deriving anchor strings
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
578fa8d5eb
Fix the case where there is whitespace before the special > in verse
...
Any whitespace before the special > char in verse block is now ignored
as expected.
Ref:
02f43722d2
7 years ago
Kaushal Modi
7d98174011
Update hugo-bare-min-theme again, for the test site
7 years ago
Kaushal Modi
0f417a94b4
Update Hugo theme components
7 years ago
Kaushal Modi
76d2175f77
Add a test for blockquotes in numbered lists
7 years ago