Back to top

Changelog

All notable changes to this project will be documented in this file.

0.12.2 - <2022-06-16 Thu> #

3c8c0bf…af3d0cd

✨ Features #

  • Export links to manual pages of GNU software like tar too … New custom variable `org-hugo-info-gnu-software`. It contains a list … of GNU software taken from https://www.gnu.org/software/. (e2da16e)

🚀 PR Merges #

  • PR # 649: … fix: Escape Hugo shortcodes in description front-matter (df0b12e)
  • PR # 652: … feat: Export links to manual pages of GNU software like tar too (2b46cd6)

🐛 Bug Fixes #

  • Escape Hugo shortcodes in description front-matter … The description front-matter will most likely be parsed as Markdown … string using $.Page.RenderString, and we do not want literal strings … like “… (4f6517d)
  • Don’t attempt to unquote empty strings … Fixes Issue # 655. (af3d0cd)

0.12.1 - <2022-05-31 Tue> #

5ad69b4…3c8c0bf

💥 Breaking #

  • Remove auto-insertion of Bibliography heading for org-ref cit. … Adding this feature for org-ref is a bit painful because: … 1. `org-ref` uses `citeproc-render-bib` in `org-ref-export.el`., while … th… (22065f7)

✨ Features #

🚀 PR Merges #

  • PR # 636: … Revert “tool(ci): Disable CI runs on emacs master for now” (68916a6)
  • PR # 637: … refactor: Make the org-hugo-drawer function more readable (8914b75)
  • PR # 639: … perf: Better way to auto-inject bibliography heading (e63bb09)
  • PR # 578: … Improve inline src blocks – they now export to HTML `code` elements with `inline-src` class and language-specific class and data attri… (1d42215)
  • PR # 643: … Fix auto menu weight calculation during “all subtrees” exports (d3faba4)
  • PR # 641: … fix: Change inline src block output to work around CommonMark issue (3070aaa)
  • PR # 646: … fix: Remove the blank line inserted between code blocks and captions (4cc8de4)

✅ Issue Fixes #

  • Revert “tool(ci): Disable CI runs on emacs master for now” … This reverts commit commit # 288c2f5. … Fixes I… (21269f6)

⚡ Performance #

  • Better way to auto-inject bibliography heading … Earlier method wasn’t elegant because it relied on an empirically … derived regexp. The reason for this change was that this regexp was … falsely match… (5a24d8f)

🐛 Bug Fixes #

  • Correct auto menu weight calc when batch-exporting subtrees … Fixes Issue # 642. (f9c9aaf)
  • Change inline src block output to work around CommonMark issue … - Before: Inline src block classes were in the HTML code element … - Now: The inline src block classes are in HTLM span tags wrapping …… (1cb3895)
  • Remove the blank line inserted between code blocks and captions … This change is part of the fix for … Issue # 645. The good thing is … that ther… (71cb5f2)
  • Don’t introduce extra blank lines after list item paragraphs … Before: … https://spec.commonmark.org/dingus/?text=%E2%80%8B%E2%80%8B1.%20item%20one%0A2.%20item%20two%0A%20%20%20%60%60%60el%0A%20%20%20(message%20%22he… (9471c21)
  • Don’t add blank line after a code block followed by para either … Fixes Issue # 645. … This handles this case: … 1. item one … 2. This paragraph … (ace25a6)
  • Do ensure a blank line after a captioned src or example block! … The src and example block captions are wrapped in HTML div tags. As … per CommonMark, the block HTML tags like div tags need to be sepa… (aa79350)

♻️ Refactor #

  • Make the org-hugo-drawer function more readable … - Remove internal function `org-hugo–logbook-drawer`. … - Move logbook entry parsing to a new internal function … `org-hugo–parse-logbook-entry`. … … (b300c5b)

0.12.0 - <2022-05-12 Thu> #

8587072…5ad69b4

💥 Breaking #

  • Export Org Verse blocks in div tags instead of p tags … This change is required so that CSS rules for .verse class *​​*​​actually … work*​​*​​. So while this is technically a breaking change, this cha… (1a6acb5)

✨ Features #

  • :LOGBOOK: drawer notes now export to logbook_​​notes TTA … TTA: TOML Table Array … TODO state change info in the logbooks doesn’t get exported to … [​[logbook_​​notes]]. … Caveat: This feature works o… (78dd4d8)
  • Use `org-log-into-drawer` to get LOGBOOK drawer name … Don’t assume that the LOGBOOK drawer name will always be named … “LOGBOOK”. (dceb610)
  • Enable inheritance of EXPORT_​​OPTIONS property (00696b0)
  • Save notes from sub-heading LOGBOOK drawers too (a97c1f4)
  • Parse `date` and `lastmod` fm from LOGBOOK state changes (00a58ae)
  • Use the latest LOGBOOK note timestamp to update lastmod (5ba0248)

🚀 PR Merges #

  • PR # 631: … tool(ci): Fix “Bad request” error when installing tomelr from GNU ELPA on Emacs 26.3 (c2cc2c4)
  • PR # 634: … fix!: Export Org Verse blocks in div tags instead of p tags (fe1f2af)
  • PR # 504: … Parse `date` and `lastmod` fields from TODO state transitions, and notes from`:LOGBOOK:` drawers (062e88e)
  • PR # 635: … Improvements in date parsing from LOGBOOK drawers (d78b4c4)

🐛 Bug Fixes #

  • Require org-info instead of ol-info if old Org version detected … If a user is running Emacs 26.3 with the default Org installation, … they would be using Org 9.1.9 and so they will need to use org-in… (772d53d)
  • LOGBOOK state change derived `lastmod` -> highest precedence (e4b60d9)
  • Only the toplevel LOGBOOK activity should update date/lastmod (fd3ed77)
  • Always export `lastmod` parsed from LOGBOOK notes … Hugo allows the presence `lastmod` and no `date` front-matter. In that … case, the `.Date` and `.Lastmod` both get set to the `lastmod` … front-matt… (6050ee6)

📝 Documentation #

  • Add Hugo template example for rendering `logbook` front-matter (2ee3785)
  • Add “Drawers” page to the manual (8ca0b77)
  • Document date parsing from :LOGBOOK: drawers (36cb26e)
  • How to set the `menu` front-matter … Fixes Issue # 166. (5ad69b4)

♻️ Refactor #

  • Move RFC 3339 date/time str gen to a separate function (11aedff)
  • Make `logbook-entry` an alist instead of a plist … This commit is a small workaround to make the TOML generation for … `logbook_​​notes` to work on Emacs 26.3 as well. … The plist worked fine too, but… (4322236)
  • Make the LOGBOOK drawer’s parent heading derivation robust … Add test where a :LOGBOOK: drawer with note might be manually inserted … in the middle of a post (and not using the `C-c C-z` binding). (efb9870)
  • Move LOGBOOK parsing code to `org-hugo–logbook-drawer` (cab606a)

🔨 Testing #

  • Add nested menu example … Fixes Issue # 325. (059f2b8)

0.11.2 - <2022-05-05 Thu> #

4fc594e…8587072

💥 Breaking #

  • Update version requirements: Requires Emacs 26.3+​​ … - Emacs version bump to 26.3 was long overdue, now that Emacs 28.1 is … already out. … - Depend on tomelr 0.3.0 as that fixes the plist input supp… (8587072)

0.11.0 - <2022-05-03 Tue> #

ad412e0…76e1f20

💥 Breaking #

  • Use tomelr.el for TOML generation … Move YAML generation logic to ox-hugo-deprecated.el. … NOTE: At some point, YAML generation support will be removed entirely. … Minor breaking changes: … - Empty st… (c24ea79)

✨ Features #

🚀 PR Merges #

  • PR # 620: … feat: Better HTML target for info: links (e5fe9fa)
  • PR # 626: … fix: Links to Org IDs of post subtrees in other Org files (ad26385)
  • PR # 629: … feat!: Use tomelr for TOML front-matter generation (a834511)

🐛 Bug Fixes #

  • Fixes for checkdoc (0885512)
  • Fix compilation error for Org 9.3 … `org-back-to-heading-or-point-min` was introduced in Org 9.5. So make … `ox-hugo` define it if user’s Org version doesn’t define it. … Ref: https://git.savannah.gnu… (124c4a0)
  • Linking post subtrees in other Org files using their Org IDs … Fixes Issue # 625. (6106d04)
  • Silence compilation warnings (e164cae)
  • Append a newline after the Pandoc meta-data YAML block (2669633)

📝 Documentation #

  • Update Equations doc with dvisvgm and dvipng references … Fixes Issue # 619. (c322fe2)
  • Replace manually pasted HTML links with info: links (5e13e6c)
  • Example of how to write multi-line unpaired shortcodes … Fixes Issue # 624. (252f8ad)

❤️ Real World Examples #

♻️ Refactor #

  • Add `org-hugo–get-anchor-at-point` … Move logic for deriving the anchor string at point to this new … function. (fb7e3e2)
  • Pandoc citations now doesn’t dep on ox-hugo-deprecated.el … Add a small dummy YAML generator only for the stuff that Pandoc needs … as `org-hugo-pandoc-cite–meta-data-generator`. (6f47507)

🔨 Testing #

  • Using #+​​hugo for unpaired shortcodes with named args … Fixes Issue # 624. (2b76213)
  • Multi-line shortcode in “export hugo” block … Fixes Issue # 624. (8b97276)
  • Linking post subtrees in other Org files using their Org IDs … Ref: Issue # 625 (058a8c8)

0.10.0 - <2022-04-07 Thu> #

a854100…ad412e0

💥 Breaking #

  • Html validation: Do not export <style> elements above TOC … <style> elements are not allowed inside <article> HTML elements. It is … very likely that the TOC +​​ post content would be wrapped in an … … (35d9552)
  • `EXPORT_​​HUGO_​​SECTION_​​FRAG` replaces `EXPORT_​​HUGO_​​SECTION*​​` … This commit is marked as a “feature” because now you can view/edit … Hugo section fragments easily in Org Column view. … If you… (88ae5c8)

✨ Features #

  • Add <small> to the list of inline HTML elements (a0d1c8e)

🚀 PR Merges #

  • PR # 613: … fix!: html validation: Do not export <style> elements above TOC (2f37d27)
  • PR # 616: … feat!: `EXPORT_​​HUGO_​​SECTION_​​FRAG` replaces `EXPORT_​​HUGO_​​SECTION*​​` (ad412e0)

🐛 Bug Fixes #

  • Add a missing : in a replacement rule in cliff.toml (998ade7)
  • Git-cliff: Fix regex for auto-linking of issues and PRs (fe729e8)

📝 Documentation #

  • Update git-cliff “breaking change” regex; update CHANGELOG (2cdb6a1)
  • Tweak the CHANGELOG formatting (d02faf7)
  • Changelog: Replace ws removal hack with commit preprocessing … Ref: orhun/git-cliff #77 (24c8937)
  • Changelog: Auto-hyperlink Issue and PR references in git logs … Ref: orhun/git-cliff #77 (cb2fad1)
  • Git-cliff: Uniquify group links for each version in changelog (aa4172e)

♻️ Refactor #

  • Optimize a regex replacement in cliff.toml using ${0} (8831e49)
  • Minor regex refactoring in cliff.toml (2ba8a36)

🔨 Testing #

  • Add more LaTex fragment examples for dvisvgm … Ref: Issue # 611 (16be913)

0.9.0 - <2022-04-04 Mon> #

9751d34…a854100

💥 Breaking #

  • 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 … (1afb24a)
  • The `=​​"true”` is not needed after data-proofer-ignore #htmltest … Also add non-breaking space after the $secure_​​icon. (bf2594a)
  • Add deprecation notice about `ox-hugo-auto-export` … Also: … - Add the deprecation notice link to the warning. … - Remove relics of `ox-hugo-auto-export` mentions. (7a6fad8)
  • Finally delete the long-deprecated ox-hugo-auto-export.el … See … https://ox-hugo.scripter.co/doc/deprecation-notices/#org-hugo-auto-export-feature-now-a-minor-mode . (ade6244)
  • Stop interpreting DEADLINE property as Hugo expiryDate … This now-removed feature disallowed using the Org DEADLINE property to … serve as a deadline.. say “deadline for finishing an … article”. Ironi… (1322e71)
  • Fix breaking tests and add new tests for backslash escaping (f0357fa)
  • Drop support for emacs 24.x … After updating to Org 9.5, the CI fails when run using emacs 24.5 with … this error: … ``` … Installing `org’ .. … Debugger entered–Lisp error: (error “Package `emacs-25… (816bd17)
  • Breaking! Replace `<` and `>` chars with html entities (Merge pull request #476) (c63a88e)
  • Minor optimization of example block export … Use the `example-code` derived from `org-hugo-example-block` in … `org-blackfriday-example-block` even when line numbers are not … enabled, but fenced code… (6f54399)
  • PR # 577: … breaking: minor: Now code fences are used even when using coderefs Hugo v0.93.0+​​ (c1bcb0f)

✨ Features #

  • Add hugo-bare-min-theme as a git submodule (1d19a92)
  • Add a test case that shows how to mimic “alert” shortcode … Issue # 119 (cec4882)
  • Add a test case (subtree-based exports) file template (c799841)
  • Add basic support for exporting shortcodes that do not need args … Issue # 119 … Also: … - Remove leading/trailing whitespace from Special Block … (6bf1610)
  • Add/update comments (cb7ce66)
  • Add test for #+​​description keyword (6b76008)
  • Add special case for bundle names in attachment paths … If an attachment path is: … /foo/<BUNDLE_​​NAME>/bar/baz.png … That attachment is copied to: … <HUGO_​​BASE_​​DIR>/content/<SECTION>/<BUNDLE_​​N… (e9e923a)
  • Add a newline after the id attr above named standalone images … This fixes the earlier generated invalid HTML. … — … Details: … Earlier, a figure with #+​​name: … #+​​name: fig_​​_​​unicorn … [​[/im… (72ed61e)
  • Add newline before the <!–endtoc–> comment; HTML validity (71509bb)
  • Add a test for Page Bundle with featured image … Alternative way to implement the request in … Issue # 139 (0b247eb)
  • Add blank line before the closing div tags; HTML5 validity … Also update Special Blocks test with more valid HTML5 semantic element … examples. (654dba0)
  • Add a test case for Page Bundle export using file-based flow (316e702)
  • Add mathjax tag and description fm to equation tests (a806ce5)
  • Add monospace markup to description special block tests (f49af5a)
  • Add a note about the “Last Updated” dates in the previous commit (1cece02)
  • Add tags to summary splitter test (0dcd2e7)
  • Add search and sorting to the examples table … Thanks to datatables.net: … https://datatables.net/examples/basic_%E2%80%8B%E2%80%8Binit/table_%E2%80%8B%E2%80%8Bsorting.html (0b1450f)
  • Add Ken Grime’s ox-hugo generated site … See https://www.kengrimes.com/ox-hugo-tutorial/ for his excellent and … detailed writeup on ox-hugo. (1661884)
  • Add forced line break examples to multi-line descriptions (615e2d5)
  • Add gif to attachments that are allowed to be copied to content (111d4ad)
  • Add test for code blocks in list using highlight shortcode … - Issue # 161 … - [gohugoio/hugo #471… ([[https://github.com/kaushalmodi/ox-hugo/commit/5c15470e619a7b8c14864a526da2eb49694f6143]5c15470)
  • Add headless bundle source link in the headless bundle test (c2a636c)
  • Add org-hugo–todo … This function is almost same as org-html–todo, except that: … 1. It always adds an “org-todo” class to the TODO spans. … 2. Replaces the double underscores in todo keywords with … (7691f04)
  • Add test for “replace double-underscores with space in Org TODO kwd” … Feature was added in … commit # 7691f04. (17560ce)
  • Add test for an ordered list following an ordered list (422a80c)
  • Add a test case for paragraphs in lists (3a9a676)
  • Add Jack Baty’s blog to examples … @jackbaty (3ed1c91)
  • Add support for <details> disclosure widget (2b13d18)
  • Add example of author>authors front-matter replacement … Ref: MunifTanjim/minimo #142 (bbba8fc)
  • Add more tags to the last two tests (85b19cc)
  • Add user dschrempf. (b350b87)
  • Add another test for (quote blk with src blk) followed by src blk … russross/blackfriday #407 (a69f36a)
  • Add clarification about TODO and DONE keywords to the ox-hugo manual (c5ba89f)
  • Added colelyman’s site. (ca690c4)
  • Add note about org-footnote-section (a1a2dbf)
  • Add caveat about Pandoc Citations (d170863)
  • Added author section, to document #178 (f5ceeef)
  • Add more detail to the Image Links test case (c5bccd5)
  • Add test description (2c63b65)
  • Add basic support for Gitea Swagger v1 (2179e50)
  • Add lastmod tests to the test suite too … The (current-time) is faked to be 2100/12/21 00:00:00 (arbitrary). So … the lastmod time will always be that in the tests. (7d5de35)
  • Add emacscast.org and rakhim.org to examples (bb3717f)
  • Add hyphen in “front-matter” # consistency (8fade59)
  • Add org-hugo-suppress-lastmod-period … PR # 197 (ebd2db9)
  • Add aminb.org to examples; Add support for microjson and sr.ht repos … - https://github.com/kaushalmodi/hugo-micro-json … - https://git.sr.ht … @aminb (48a6b60)
  • Added elbaulp (4bccb4b)
  • Add more commented debug statements (2be4bc0)
  • Add correct number of ─ (BOX DRAWINGS LIGHT HORIZONTAL) (94e01a9)
  • Add another example of .dir-locals.el #doc (b8cf224)
  • Add doc about #+​​hugo: more (1901679)
  • Add Feature-Policy header (9719576)
  • Add issue template for GitHub (7d27ce9)
  • Add Requirements section in Meta (e3dac33)
  • Add jubnzv.github.io to examples (3825468)
  • Convert “+​​” chars in headings to " plus " (2456ee8)
  • Add a test for a source block following a list (45cbd5e)
  • Add a test showing the copying of image reference in link descr … Ref: PR # 276 (73fd04f)
  • Add a test for blockquotes in numbered lists (76d2175)
  • Add and use an internal helper function org-hugo–get-anchor (22efa92)
  • Add links without descriptions to the cross-post linking tests (dce680e)
  • Add another test case for source blocks in lists (301e072)
  • Add a workaround for yet another Blackfriday issue … Blackfriday does not understand where a plain list ends.. sigh. … - [russross/blackfriday #556… ([[https://github.com/kaushalmodi/ox-hugo/commit/ed5df37e1812b45ac0a8f20495519d6f3815bdb9]ed5df37)
  • Add links in figure and table caption tests … https://www.reddit.com/r/emacs/comments/czob4w/links_%E2%80%8B%E2%80%8Bin_%E2%80%8B%E2%80%8Bcaption_%E2%80%8B%E2%80%8Bfor_%E2%80%8B%E2%80%8Bimages/ (ddd68c1)
  • Add helper function `org-hugo–lang-cjk-p’ (c60a839)
  • Add a new test from Issue # 325 (a80b250)
  • Add workaround for regression in org-babel–string-to-number in Org maint … Ref: … - https://lists.gnu.org/r/emacs-orgmode/2020-02/msg00931.html … - https://code.orgmode.org/bzg/org-mode/commit/6b2a7c… (af85600)
  • Add example from #335 to the test suite (1b649e7)
  • 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-… (b6f4142)
  • Add and use the #.. macro in the issues.org (a0c4e4e)
  • Add test for Issue # 333 (96e6bf0)
  • Add rudra.dev to the list (5de3da9)
  • Add tests for linking to other org file (a08478a)
  • Add section for org-ref citation support (19e2c64)
  • Add the failing test case for issue # 382 … Issue # 382 (ff9b995)
  • Add test for `:eval never-export’ … Issue # 430 (80a49c0)
  • Add test case for Issue # 424 (2efd045)
  • Add org-hugo-base-dir local variable … Provides another means of setting the Org-hugo base directory. This is … useful in cases where we don’t want to repeat ourselves. … Instead of setting HUGO_​​BAS… (db6adc9)
  • Add test and docs for the new `org-hugo-base-dir’ variable … Ref: PR # 401 (805f18b)
  • Treat external id links to normal posts (92cc050)
  • Add anchor to external id links that point to headline (dc24a0c)
  • Add newlines between <details> and content … This fixes the issue where the <details> content failed to get parsed … as Markdown by Hugo. … Partially fixes Issue # [[https://github.com/kaushalmodi/ox-… (ac5cb9e)
  • Add an Org macro for using relref shortcode in the manual (d53bb13)
  • Add full support for `#+​​hugo:` … Just as ox-md.el supports `#+​​md:` and ox-html.el supports `#+​​html:`. (36d87a2)
  • Add org-hugo-goldmark … This variable should be kept at its default value of non-nil if using … Hugo version 0.60.0 or newer. (87126d9)
  • Goldmark: Support multi-line footnotes, including src blocks … Fixes Issue # 433. (89c4cae)
  • Add internal variable `org-hugo–preprocess-buffer` … This variable defaults to `t`, so the behavior of ox-hugo is same as … before. This can be set to `nil` when debugging performance issues … with O… (1009261)
  • Add test for Issue # 455 (6fbd0ca)
  • Add test case for Issue # 377 (e2bc6c4)
  • Add a hierarchy for MathJax tests in the Org file (0c5c95f)
  • Add test for Issue # 500 (5e70890)
  • Add tags and categories to the issue #500 test (4cb08af)
  • Add test for “Blackfriday mode” annotated src block export (ee4a895)
  • Add tags hierarchy support (de5dfdf)
  • Add test for inline code blocks … https://orgmode.org/manual/Structure-of-Code-Blocks.html (a8be7d0)
  • Add test for Issue # 339 (6ae98d0)
  • Add ‘headings’ tag to few tests (497d588)
  • Add test for Issue # 514 (91b043b)
  • Add a test for #+​​toc of non-english characters … Adds test for Issue # 521 (877d87a)
  • Add Code References section to the manual (8fd7460)
  • Add comment about why special strings support is disabled in ox-hugo (268f16a)
  • Add instructions on how to use Hugo Modules in Quickstart (8206404)
  • Add new defcustom `org-hugo-special-block-type-properties` … This variable replaces the older defcustoms … `org-hugo-special-block-raw-content-types` (commit # [[https://github.com/kaushalmodi/ox-hugo… (ce23ad1)
  • Add test for pre/post trimming around a Hugo shortcode … The … commit # 86290c1 … commit makes this test pas… (a8a9b16)
  • Add test for Issue # 552 … doc: Also improve the “Inlined SVG” section in the manual (ae64fc1)
  • Add `org-hugo-inline-src-block` … This function only calls the `org-md-verbatim` for now.. until … gohugoio/hugo #9442 gets resolved. (0da4e87)
  • Target links starting with “.” don’t get org-target– prefix … - `org-blackfriday–valid-html-anchor-name` is updated so that the … returned anchor names never begin or end with “-” (719589d)
  • Now external file links like [​[file​:foo.org::*​​ Heading]] work … Earlier, only [​[file​:foo.org::#custom_​​id]] worked. (513cca4)
  • Now cross-post Target links work too! … Thanks to the magical Org Element API function … `org-element-target-parser` :) (a33ff23)
  • Auto-insert translated “References” heading for bibliography … Fixes Issue # 574. … The translation depends on the `org-export-dictionary` variab… (024ab9e)
  • Now cross-posting links to other page bundle subtrees works (1376362)
  • Parse the #+​​hugo_​​section keyword too … Also add a new optional arg `inherit-export-file-name`. (8875e1a)
  • Link Hugo Bundle subtrees in other Org files … Fixes Issue # 389 (854d2d5)
  • Commenting a subtree will prevent export of nested subtree posts … Example: … *​​ COMMENT Commented parent subtree … *​​*​​ Dummy sub heading … *​​*​​*​​ Post 2 … :PROPERTIES: … :EXPORT_​​FILE_​​NAME:… (e90ee1c)
  • Export info: links correctly (af95731)

🚀 PR Merges #

  • PR # 453: … feat: treat external id links to normal posts and support point to headline (8345ceb)
  • PR # 484: … Multi line footnotes (1ea466d)
  • PR # 490: … Better figure links (1970cf9)
  • PR # 492: … Allow specifying tags/categories in #+​​filetags for file based exports (1c79670)
  • PR # 493: … Fix underscore escaping (8620e29)
  • PR # 494: … Don’t replace `_​​` in links with %5f if using Goldmark (b8f742c)
  • PR # 495: … Update pandoc version to 2.16.2 (698b568)
  • PR # 496: … Remove extra divs (100010c)
  • PR # 497: … Fixes Issue # 327 (db0739e)
  • PR # 501: … Add test for Issue # 500 (db12c7f)
  • PR # 499: … Src/Example blocks use code fence instead of `highlight` if Goldmark (ffd5ea8)
  • PR # 508: … Better `` and `radio-target` links that don’t change on each export (7ffb0c4)
  • PR # 510: … Add tikzjax Org Special Block support (47ce84b)
  • PR # 505: … Support HTML_​​CONTAINER and HTML_​​CONTAINER_​​CLASS (ffa5c1d)
  • PR # 515: … Add test for Issue # 514 (7925747)
  • PR # 516: … Export sub heading tags (7c26e0d)
  • PR # 518: … Ordered list update (5c53204)
  • PR # 522: … More div hack removals +​​ test for #521 (3a7cb20)
  • PR # 523: … Add test for _​​build front-matter (5b3a9c6)
  • PR # 524: … Support video special block (8107c28)
  • PR # 525: … Support Org coderef in source and example blocks … … Fixes Issue # 162. (c21498e)
  • PR # 530: … Preserve line breaks from Org source (f80d766)
  • PR # 531: … Remove Blackfriday extension support if `org-hugo-goldmark` (dbb9b0e)
  • PR # 532: … Fix export when using `’:t` export option (9f5735e)
  • PR # 534: … Double hyphen cleanup (30d55ca)
  • PR # 536: … Support whitespace trimming around special blks using markers <, > (5fd3bdc)
  • PR # 537: … Use Hugo modules for test and doc site generation (5daaf2e)
  • PR # 538: … [feature] Whitespace trimming around Org Special Blocks (560ce96)
  • PR # 544: … Add new defcustom `org-hugo-anchor-functions` (be9d24d)
  • PR # 555: … Document use of Org Cite citations (5ef9866)
  • PR # 559: … Auto-inject Bibliography heading if CSL HTML export is enabled (68eb84e)
  • PR # 560: … Add example Org file with org-ref style citations (e66d716)
  • PR # 566: … Target link improvements … … - Handle target anchor string like non alphanumeric chars like spaces. Now `` works. … … (f7838b7)
  • PR # 557: … Fix `org-hugo-get-id` (ff7a462)
  • PR # 567: … fix: org-id links to headings with ID as anchors (077b349)
  • PR # 569: … feat: Now external file links like [​[file​:foo.org::*​​ Heading]] work (f0d06bd)
  • PR # 571: (8503350)
  • PR # 575: … Add multi-lang support for Bibliography/References heading. … … Fixes Issue # [5… ([[https://github.com/kaushalmodi/ox-hugo/commit/64979634e251621392fbab4ee388408b42808cc5]6497963)
  • PR # 576: … doc: Updates for Netlify Open Source Plan compatibility (d928de7)
  • PR # 580: … Source blocks with line numbers: Change `linenos` value to `true` … … No functional change. (d87f713)
  • PR # 582: … Wrap embedded SVG images with captions in figure tags (ddd75bd)
  • PR # 590: … Fix: Don’t do buffer pre-processing for file exports (e142d40)
  • PR # 588: … Respect the `broken-links:t` option during the buffer pre-processing as well (493ff9a)
  • PR # 573: … test: Add ert based tests (cd1a55f)
  • PR # 593: … feat: Now cross-posting links to other page bundle subtrees works +​​ minor performance tweaks in buffer pre processing (a7e7626)
  • PR # 594: … Refactor: Add `org-hugo–get-elem-with-prop`; no functional change (e3c1f41)
  • PR # 595: … Do ast looping outside temp buf (3484e4a)
  • PR # 596: … Fix broken links export options parsing. … … Fixes Issue # 587. (e1a3e07)
  • PR # 597: … optimization: Just update link elements directly in pre-processing (9ac379e)
  • PR # 598: … ✨ performance: Speed up the exports (defdec2)
  • PR # 599: … fix: Elapsed time was being printed as a negative value on GHA (917bab6)
  • PR # 607: … fix #606 (ab3e80d)
  • PR # 610: … feat: Export info: links correctly (61e4a96)

✅ Issue Fixes #

  • Export “description” special block content to front-matter … Fixes Issue # 118 (398f3a6)
  • Don’t add space on the left of “:” in YAML front-matter … foo: “bar” … Above form is more conventional than: … foo : “bar” … Fixes Issue # 120 (dd751cd)
  • Support customizing date format in the date front-matter parameters … New keyword HUGO_​​DATE_​​FORMAT and defcustom `org-hugo-date-format’. … Fixes Issue # [[https://github.com/kaushalmodi/ox-hugo/is… (d9348c1)
  • Remove indentation from latex environment blocks … Add a test case for that. … Fixes Issue # 128 (a1fc78c)
  • Use custom figure shortcode on the test site … Fixes Issue # 133 … The custom figure shortcode will be removed from the test site if/when … propo… (ec35095)
  • Document Equations support and equation referencing … Fixes Issue # 130 (a7471f0)
  • Document “Dates” … Fixes Issue # 127 (14c005f)
  • Support Named arguments for Shortcodes special blocks … Now #=​​attr_​​shortcode can have named arguments like: … #+​​attr_​​shortcode: :arg_​​foo abc def :arg_​​bar ghi jkl mno … Fixes Issue # [[http… (e498a90)
  • Support audio, images, videos and series front-matter … Fixes Issue # 122 (d62d38d)
  • Remove unnecessary org-export-data forms … Add tests for type, layout, url, slug, linktitle and markup … front-matter. … Fixes Issue # 52 (79616a3)
  • More escaping to get around LaTeX equation parsing in Blackfriday … Fixes Issue # 138 (549adc0)
  • Support custom front-matter with nested maps (TOML tables) … The syntax for specifying nested map values custom front-matter is: … Using property drawer (in subtrees): … :EXPORT_​​HUGO_​​CUSTOM_​​FRON… (d0a60c5)
  • Support setting taxonomy weights … Fixes Issue # 141 … Regular page weight setting is same as before: … Manual: … #+​​hugo_​​weight: 100 … Auto: … (01662ab)
  • Now “\\” at end of line forces a line break … Fixes Issue # 147. (480aa31)
  • Support Org center block … Fixes Issue # 148. (edf9c71)
  • Support mailto: in links … Fixes Issue # 149. (21a479f)
  • Support image copying for the homepage branch bundle case … This is the case when both `HUGO_​​SECTION` and `HUGO_​​BUNDLE` are `/`. … Fixes Issue # [[https://github.com/kaushalmodi/ox-hugo/issues/155… (f0dd0e2)
  • 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 Issue # [[https://github.com/kaushalmodi/ox-hugo/i… (93b2a33)
  • 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 Issue… (ad98ebf)
  • Update Pandoc Citations documentation … Fixes Issue # 175. (40899b1)
  • More citation tests … Fixes Issue # 177. (8385855)
  • Fix exporting #+​​toc keyword with ’local’ … Fixes Issue # 183. (03fe85a)
  • Allow auto-export on save to be enabled using .dir-locals.el … Works for either flow: per-subtree or per-file … Fixes Issue # 185. … — … - Repl… (34343df)
  • Escape double quotes in figure captions … Fixes Issue # 190. (af4c706)
  • Don’t make Pandoc convert HTML spans to Pandoc style classes … Use -bracketed_​​spans … Fixes Issue # 191. (598a4d8)
  • Fix removal of escapes from figure shortcodes … Fixes the case where the figure shortcode spans over multiple lines. … Fixes Issue # 191. … Also … (c7f19a3)
  • Document setting custom front-matter params … Fixes Issue # 202. (0b793f9)
  • Make the code snippet anchors more readable … Fixes Issue # 204. (cd7ace1)
  • Make the table anchors more readable … - Fixes Issue # 206. … - Move org-hugo–get-reference from ox-hugo.el to … org-blackfriday–get-reference … (c211999)
  • Don’t export if EXPORT_​​FILE_​​NAME is empty (subtree based flow) … Fixes Issue # 211. (8f7b2c0)
  • Support concatenation of section paths; New EXPORT_​​HUGO_​​SECTION*​​ … Fixes Issue # 215. … Example: … #+​​hugo_​​base_​​dir: . … #+​​hugo_​​se… (a8d3eb0)
  • Document HUGO_​​SECTION and EXPORT_​​HUGO_​​SECTION*​​ … Fixes Issue # 216. (57079fd)
  • Don’t allow tags to be "” … Fixes Issue # 221. (ceee3bf)
  • Throw a user-error on finding an empty string element in a fm list … Fixes Issue # 221. (8e5b85d)
  • Tweak the Issue Template … Fixes Issue # 146. (6f495b9)
  • 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 o… (676d931)
  • 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 tabl… (da0a1b7)
  • Don’t use Noweb references in “included” subtrees … Workaround for duplicate Noweb expansion in export of included … subtrees. See … https://lists.gnu.org/r/emacs-orgmode/2018-12/msg00075.html for … d… (b32b6af)
  • Install specified Pandoc binary from its repo … Fixes Issue # 249. … Also: … - Do all the dependency installs in /tmp/${USER}/ox-hugo-dev … direc… (558e02a)
  • Support inlining SVGs … Introduce a new HTML attribute: … #+​​attr_​​html: :inlined t … Fixes Issue # 253. (e57f417)
  • Revert workaround done in commit # 30f1e1e … Now that this bug is fixed in Org 9.2. … See: … - https://lists… (e6e58a6)
  • Fix the escaping of \{ and \} for Blackfriday parsing to work … Fixes Issue # 258. (b31105a)
  • Update docs on using `description` to gen `summary` for Hugo v0.55.0 … References: … - https://gohugo.io/news/0.55.0-relnotes/ … - https://github.com/gohugoio/hugo/commit/3a62d54745e2cbfda677239083004… (773f65a)
  • Consider .mp4 as an attachment extension … Fixes Issue # 274. (ba9db73)
  • Convert internal links for subtree exports … Fixes Issue # 30. … - Locate correct subtree to be exported … - Made CUSTOM_​​ID references unique … … (ed4f180)
  • Wrap verse blocks with <p class=​​"verse"> .. </p> … Fixes Issue # 281. (4c34d42)
  • Fix the regression introduced in commit # c29e98b … - commit # [[https://github.com/kaushalmodi/ox-hugo/commit/c2… (8c73de0)
  • Do auto-unwrapping of multi-byte chars only for Chinese locale … Fixes Issue # 300. (782741f)
  • Document how to change the exported front-matter format to YAML … Fixes Issue # 310. (23d0241)
  • Support Radio Targets … Fixes Issue # 313. (4994463)
  • Do not add extra spaces after hyphens in headings converted to lists … Fixes Issue # 344 . … Ref: [[https://github.com/gohugoio/hugo/issues/7142]… (27a4952)
  • Escape ] and ( if “](” found together in a LaTeX equation … Fixes Issue # 349. … Add test case for: Issue # [[https://github.com/kaushalmodi/ox-h… (889c6ca)
  • Ensure that the title front-matter value is always double-quoted … Fixes Issue # 350 . (7800cbc)
  • Fix the alignment of options in org-export (C-c C-e) menu … Fixes Issue # 357 . (8f36181)
  • Document the supported values for date-type properties … Fixes Issue # 363 (27d562c)
  • Document EXPORT_​​HUGO_​​BUNDLE … Fixes Issue # 217 . (4e93dae)
  • Document the mandatory `unsafe=​​true` setting if using Goldmark … Fixes Issue # 307 . (01bc315)
  • Make :EXPORT_​​LANGUAGE: inheritable … Fixes Issue # 366 (94aec3f)
  • If a link has spaces in it, wrap it in angle brackets … Fixes Issue # 376 (9825a5e)
  • Add support for :target attribute to #+​​toc keyword … Fixes Issue # 393 (082f229)
  • Support tables written in table.el format … Fixes Issue # 374 (04a746d)
  • Remove the dead saythanks.io link … Fixes Issue # 412 (6bc8ee0)
  • Fix “_​​_​​” -> space conversion when only 1 letter surrounded by spaces … E.g. “a_​​_​​b_​​_​​c” didn’t get converted properly because of the single … letter “b” surrounded by “_​​_​​” … Fixes Issue … (ad48e6e)
  • Delete reference to the deprecated pandoc-citeproc binary … Fixes Issue # 419 (0c864e6)
  • Fix unescaping of underscores in emojis with more than 1 underscores … Fixes Issue # 405 (7a93b0f)
  • Fix a regression in test after updating to Org 9.5 … Fixes Issue # 465 (ffa02b5)
  • Fix rendering of Org markup in inline HTML tags … Content in inline HTML tags cannot have newlines. So the “newline … insertion” workaround to get Hugo to correctly render interleaved HTML … and Markd… (084ccd8)
  • Remove DOCTYPE tag from inlined SVG’s as well … Fixes Issue # 470 (8bdfa0e)
  • Support “:linenos <val>” for src and example blocks … Fixes Issue # 326 and … Issue # 489. (9408d8c)
  • Wrap the figure number portion of figure captions in a span tag … This allows the user to hide all the figure numbers if they desire … using this CSS: … .figure-number { … display: none; … } … This ch… (822cace)
  • Better links to standalone figures … Now the link to a figure is derived from the “#+​​name” keyword set for … that figure. This prevents the randomization of the “org<random hash>” … id on each expor… (91f99d2)
  • Add `org-blackfriday-syntax-highlighting-langs` … This allows replacing “langs” like `ipython` and `jupyter-python` with … just `python` when exported to Markdown. … Uses PR # [[https://github.com/kau… (ae07d70)
  • Don’t replace `_​​` in links with %5f if using Goldmark … Users running Hugo 0.60 or newer versions are using Goldmark by … default. But, in any case, if you are reading this commit because you … are … (2d91428)
  • Disable the extra divs hack if using Goldmark … The extra div hack was added to get around a limitation of the much … older Blackfriday Markdown parser. … Hugo switched to using Goldmark as the defaul… (ec88b9a)
  • Support `tex:dvisvgm` export option … This option exports inline and block LaTeX equations as SVG … files. ox-hugo then takes care of copying the exported SVG files to … the site’s `static/ltximg/` di… (325f214)
  • Better links that don’t change on each export … Fixes Issue # 507 … With Org snippet like below: … … [​[xyz][link text]] … Ear… (f19dc98)
  • Add test for equation->PNG export (dvipng) … Fixes Issue # 473 … The test works locally but is disabled on GHA for the same reason as … in … PR #… (73e11f9)
  • Org special blocks: Add `org-hugo-special-block-raw-content-types` … Org special blocks with types defined in the new defcustom … `org-hugo-special-block-raw-content-types` will be exported without … … (e5edf5a)
  • Support HTML_​​CONTAINER and HTML_​​CONTAINER_​​CLASS … Fixes Issue # 271. (4ea2bd3)
  • Export tags in sub-headings; recognize `tags:t` export option … Fixes Issue # 513 (552386e)
  • Fix export of ordered list numbers larger than 2 digits (> 99) … Fixes Issue # 517 (7f3231c)
  • Add “Quick Start” page … Fixes Issue # 159 (2a4b968)
  • Remove the <div> .. </div> hack from #+​​toc inserted TOC … Fixes Issue # 306 … This change should have been a part of … PR # [[https://github.co… (eff2ed2)
  • Don’t insert the <div> .. </div> hack when fixing Pandoc output Md … Fixes Issue # 306 … This change should have been a part of … PR # [[https://… (2e89a9a)
  • Support #+​​begin_​​video .. #+​​end_​​video Org Special Block … Fixes Issue # 274. (6a2b0ce)
  • Support Org coderef in source blocks … Note that the `-n` switch behavior is implicitly enabled if coderefs … are detected in the source code. … Fixes Issue # [[https://github.com/kaushalmodi/ox-hugo/… (2006f06)
  • Preserve line breaks from Org source … Fixes Issue # 527. … This feature is like the site-wide Goldmark config (ref: … Issue # [[https://github.c… (a077adf)
  • Fix doc: Put the colons after Org keyword #+​​attr_​​shortcode … Fixes Issue # 546 (1b6b3dc)
  • Fix the Markdown rendering in inlined SVG captions … Fixes Issue # 553. (ebf9a69)
  • Auto-inject Bibliography heading if CSL HTML export is enabled … Adds new defcustom `org-hugo-citations-plist`. … Fixes Issue # 558 (8eb6e29)
  • Fix incomplete HTML export when exporting LaTeX equation as svg/png … Fixes Issue # 565. (3f827aa)
  • Fix `org-hugo-get-id` … Get the id *​​after*​​ moving the point to the beginning of the element. … Fixes Issue # 556 (5830290)
  • Wrap embedded SVG images in figure tags … Before: … <svg>SVG</svg> … <div class=​​"figure-caption">CAPTION</div> … After this commit: … <figure> … <svg>SVG</svg> … <figcaption>CAPTION</figcaption> … <… (5816468)
  • Merge PR # 592 … Fixes Issue # 591. (4c05834)
  • Document the element link desc auto-prefixing feature … Fixes Issue # 601. (2f7f26c)

⚡ Performance #

  • Improve underlines, add headline-hashes, Org style asterisks # doc (5d0219f)
  • Improve the logic for 1-level nested map custom front-matter … Issue # 139 … Remove the requirement to suffix such keys with “{}”. This is an … i… (0ad7d64)
  • Improve the check for a custom front matter value with nested maps (bb51aaa)
  • Improve org-hugo–todo documentation … Also make checkdoc pass. (d7296f3)
  • Optimize the details/summary code (704b6e9)
  • Improve the auto-exporting documentation (5cf5520)
  • Improve the example with caption for Babel exported figure … Ref: … - https://emacs.stackexchange.com/a/12155/115 … - Issue # [[https://github.com/kaushalmodi/ox-hugo/issues/191#issuecomment-414129378… (a92efd7)
  • Improve doc-string of org-hugo-string … PR # 194#issuecomment-415777533 (6bb8a01)
  • Improve Image Links section in docs … Ref: Issue # 246 (2c20a10)
  • Improve/correct the export menu function descriptions (a8e0c6e)
  • Improve the footnote wrapping when a zh/ja lang post has English too … Ref: Issue # 320 (1dbf3cf)
  • Improve tests added in PR # 523 … - Don’t use inline shortcodes; they look messy and are not very … reusable … - Add a better and proper “getpage” … (eaadde8)
  • Performance optimization: Loop through the whole Org ast just once … Ref: https://lists.gnu.org/r/emacs-orgmode/2021-12/msg00474.html … “You call org-element-map twice making Org loop over the whole A… (f4aa457)
  • Just update link elements directly in pre-processing … Ref: https://lists.gnu.org/r/emacs-orgmode/2021-12/msg00474.html … “org-element-copy should not be too much of an issue, unless you have … many l… (7743fd1)
  • Reduce number of fresh `org-mode` invocations (dd09f72)
  • Reduce repeated find-file ops on the same file … A find-file used to happen for each link searched in an external Org … file when exported each subtree post when using the all-subtrees … option of the… (c450ed0)

🐛 Bug Fixes #

  • Fix a typo (b635f8a)
  • Fix potential CSS flicker by ensuring that basic.css loads 1st # doc (c1b355c)
  • Fix inconsistent spaces in exported figure and highlight shortcodes … It’s conventional to write a shortcode with a space after the starting … “{{<” (or “{{%”) characters and a space before the ending… (2db3cac)
  • Fix Menu debug in bare_​​min theme # test site (ac8c505)
  • Fix error when trying to highlight only 1 line … Also add a test case for that. (4919415)
  • Don’t print interfaces using %s # test site … Also update terms layout. (94f7886)
  • Fix bundle/sect names leaking into file-based exp aftr subtree-based (8c14700)
  • Fix search url for doc site (e9c1525)
  • Fix RSS feeds for doc and test sites (609cf10)
  • Fix the case where a fm key value is an elisp symbol … Example: … :EXPORT_​​HUGO_​​CUSTOM_​​FRONT_​​MATTER: :random ‘((foo . bar)) (5930829)
  • Fix coding.net links #doc site (3ca6d0b)
  • Fix the presence of blank line after summary closing tag … This caused Blackfriday to close the prior opened <p class=​​"details”> … paragraph. (3c9bad7)
  • Fix typo: data->date (80293a2)
  • Fix Pandoc butchering the Hugo shortcodes (a17c136)
  • Fix case where citations are enabled, but no citations exist (cb2558b)
  • Fix typo in a test (19cf97d)
  • Fix fenced code blocks in Pandoc output (00a6794)
  • Fix error when using #+​​bibliography keyword instead of property (b7e0424)
  • Fix a test (dc4e54c)
  • Fix typo in manual (27c6951)
  • Fix unintentional setting of front-matter format to YAML (4ece975)
  • Fix typo in doc-string: Not “a-z0-9”, but “[:alnum:]” … So that it’s clear that non-English alphabets are also allowed in … slugs. (8e244fa)
  • Fix typo (d460a15)
  • Fix another locale related test failure … Setting `set-locale-environment` makes the Org timestamp days to … remain in English too. … Thanks to @takaxp to help with this debug. … Ref: … Issue # [[http… (d65c054)
  • Fix mistake in prev commit … Btw “make doc_​​test” works great on Netlify! (0c4f42c)
  • Fix previous commit; make htmltest pass (7b5de47)
  • Fix the author for `make test` to pass on Travis (907a409)
  • Fix sections; Add template for “doc” section (0ef84a2)
  • Fix org-export-exclude-tags not working for per-file flow … Also replace the incorrect use of #+​​filetags keyword with #+​​hugo_​​tags … keyword in per-file flow based posts. (c7f9596)
  • Fix an Org tag for the “front-matter extra” tests (03c146e)
  • Fix names of internal functions (70d7217)
  • Fix the CSP violation by removing that recently introduced space … Before: … ≪"order”: [​[ 3, ‘desc’ ]],≫ … After: … ≪"order": [​[ 3, ‘desc’ ]], // Sort rows based on 4th (counting begins from 0) colu… (00186ff)
  • Fix (error (void-function org-hugo-auto-export-mode)) during make (4a768c2)
  • Effective heading level needs to be calc for non-zero loffset … .. which defaults to 1. (87b3dcd)
  • Don’t drop the char after – or — in post titles (43557da)
  • Fix incorrect org_​​dir for two real world examples (5e2066c)
  • Fix for deprecations on Hugo v0.55.0 (5e2e52b)
  • Fix for deprecations in Hugo v0.55.0 [doc site] (35e4af4)
  • Fix typo in docs (1e0130a)
  • Fix typo in previous commit (96562cc)
  • Fix doc site build … Failure: ERROR 2019/05/09 04:01:55 Failed to get JSON resource … “https://aminb.org/micro.json”: Failed to retrieve remote file​: Not … Found … Seems like that site is no longer g… (ac3888b)
  • 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… (5d2f56c)
  • Fix all compilation warnings (e2c7385)
  • 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: … PR # [[https://github.com/kaushalm… (578fa8d)
  • Fix the broken file-based/subtree-based export detection in -wim fn … - Now C-c C-e H H works once again in: … - a file without any valid Hugo post subtree … - a file with a valid Hugo post subtree wh… (29d818f)
  • Fix checkdoc error; move around functions (872c641)
  • Fix an org-find-olp warning in ox-hugo-manual.org … > org-find-olp: Heading not unique on level 1: Changelog (a5a8434)
  • Fix the test failure on emacs 24.4 and 24.5 (3b3f63f)
  • Fix lack of blank line before Markdown table … .. if the caption is not present. … Fixes PR # 302. … Credit: @titaniumbones for finding the bug and… (7f3503c)
  • Fix doc site build (d2892b3)
  • Fix for the move of `org-get-outline-path’ to org-refile in Org 9.4+​​ … Ref: … - https://lists.gnu.org/r/emacs-orgmode/2020-02/msg00931.html (9474bd2)
  • Update RegExp (aeb5773)
  • Fix math (0cf3965)
  • Fix a failing test due to a change in Org maint upstream … A change in Org maint branch seems to have change the order of the … tags, but this change looks harmless. So just updating the reference … e… (60b0131)
  • Fix the incorrectly inserted <div></div> tags … This was a recent regression caused when updating few regular … expressions for supporting Pandoc 2.11.4. (8deaa1c)
  • Update org-id-locations if it’s nil or empty … Note: The `org-id-locations` stores in ~​​_.emacs.d_.org-id-locations, … but there is no ~​​/.emacs.d exists when GitHub Workflow is running, … and that … (9ddb4bb)
  • External id links connected two posts in different hugo_​​section … test: add org files to test external id links between different hugo_​​section (db8bd9f)
  • Invoke kill-buffer after org-id-goto to avoid Fundamental buffers … If we don’t kill the buffer after org-id-goto, and then the … `org-id-goto’ will then goto the previous buffer we openned. The … buf… (483a755)
  • Fix the wrapping of .details class around the details section … Also update the tests to reflect the limitation that only the first … line of <summary> cannot contain any markup. Also document that in… (14723c3)
  • Fix a typo (dbdc8aa)
  • Fix a typo in Ox-hugo manual (32abade)
  • Fix a compilation warning (dcf668a)
  • Fix underscore escaping … https://spec.commonmark.org/0.30/#emphasis-and-strong-emphasis … Emphasis with _​​ in not allowed inside words: … https://spec.commonmark.org/0.30/#example-359 … This removes… (eee5dd4)
  • Fix a broken relref in one of the tests (25544bd)
  • Remove b-o-l line nums only when enabled (fb728ea)
  • Fix test (4581426)
  • Fix links to radio targets that have spaces in them (d5b3fef)
  • Fix test failure on emacs 26.3 … We somehow need to require `subr-x` for `string-remove-suffix` only on 26.3. (29b6af4)
  • Fix a test (f54b484)
  • Prevent error if str is nil (b1f8a31)
  • Fix (again) rendering of fmt inside inline HTML elem like <mark> … Kind of reverts … commit # 084ccd8. (fb63e22)
  • Fix formatting inside Org Verse blocks not getting rendered (95a6760)
  • Fix a test (e7e735a)
  • Fix few compilation warnings (57cfc70)
  • Fix export when “’:t” export option is used … From the tests, it’s quickly evident that Hugo/Goldmark do a better … job at smart quote conversions. … Org mode’s smart quote conversion is always conver… (ea60be1)
  • Fix for ws trimming around a special block in a quote block (1fe91c1)
  • Fix for ws trimming after a special block before a list item (531c7a1)
  • Fix for ws trimming after a special block before a heading (ea2f065)
  • Fix for ws trimming around a special block before/after code block (171667f)
  • Fix :trim-pre/:trim-post overrides not working in #+​​header … Also update tests (5bf7c8e)
  • Fix the type of `org-hugo-special-block-type-properties` defcustom (9fc2022)
  • Fix for ws trimming around a special blk in quote blk in a list (dd46b2f)
  • Fix a typo in manual (ca8c8c9)
  • Allow Org target link text to have spaces in them … So now this works: (94553ae)
  • Org-id links to headings with ID as anchors … Ref: Issue # 542 (0fd4512)
  • Org-hugo-citations-plist: bibliography-section-regexp … This fixes the issue where “Bibliography” heading wasn’t getting … inserted when using ieee.csl. … - “\\n” was used instead of “\n” by mistake …… (0046474)
  • Fix test for Org stable/bugfix branch … Relative paths for CSL are not supported on the bugfix branch yet, but … they are supported in the main branch as of 2022/02/18. … Ref: https://git.savannah.gnu… (66ff1dd)
  • Make cross-post linking for subtree-based flow work once again … Also fix a test post subtree at wrong indentation level … - An EXPORT_​​FILE_​​NAME subtree was nested inside another … EXPORT_​​FILE_​… (54b213a)
  • Let anchor be empty string when search string is a target name … This applies only to the case where the search string is a target name … and the search is attempted in a different file. (e92b8ab)
  • Fix a test … Also fix a duplicate ID (0451eb9)
  • If multiple classes, #+​​attr_​​css applies to 1st class only … This applies to elements using `org-blackfriday–div-wrap-maybe` when … both “#+​​attr_​​html: :class ..” and “#+​​attr_​​css: ..” are u… (24c203a)
  • Call split-string only if an #+​​attr_​​html specifies a class (2931da1)
  • Don’t use code block attr when using `highlight` sc or blackfdy (59adf59)
  • Escape Hugo shortcodes in Org source blocks too (19cbc09)
  • Escape Hugo shortcodes in Go HTML Template source blocks too (6b053cc)
  • Do not do buffer pre-processing if not doing subtree exports … Fixes Issue # 589. … Add internal helper function … `org-hugo–buffer-has-valid-po… (d744fcd)
  • Don’t make single subtree exports move the point … Fixes this minor interactive use regression introduced in … PR # 590. (4b87018)
  • Fix the case where nil should be returned (26ca1cb)
  • Now returns nil if not post subtree (75345ee)
  • Fix `org-hugo–get-pre-processed-buffer` (ed7d670)
  • Fix ert tslug tests (8229bb2)
  • Fix ert tests by using setup-ox-hugo.el to load the latest Org ver (b4e4a2b)
  • Don’t use `org-element-at-point` for Org stable based tests … Note: As of today, the Org stable or bugfix version’s (9.5.2) … `org-element-at-point’ returns the Org element at point *​​but*​​ without … (3299cfa)
  • Fix a test … Also restore blank lines in a docstring. (9c43bc8)
  • Ignore EXPORT_​​HUGO_​​SLUG value when deriving relref links … Hugo `relref` does not use the `slug` front-matter. So even if a post … “abc.md” has a slug “xyz”, `{{< relref “xyz” >}}` will fail. We w… (5ec7df9)
  • Cross-linking to a subtree whose EXPORT_​​FILE_​​NAME is specified (f520e4f)
  • Make `org-link-search` work correctly consistently … Earlier: … - It worked i.e. searched heading strings to the correct subtree, but … only if the searched-in Org buffer was already open. … - It fail… (f6b32ad)
  • Compat: for `org-element-at-point` diff in Org 9.5 and older … In Org 9.5 and older versions, `org-element-at-point` returns an Org … element *​​without*​​ the properties inherited from its parent hea… (4e41495)
  • Do heading level check only if the el type is right (ba7edef)
  • Fix user-error (“Before first headline at position 1 in buffer (f7b15f7)
  • Make sure that the `goto-char` arg is a number (6aed5f0)
  • Detecting `broken-links:t` in `:EXPORT_​​OPTIONS:` now works … This fix was possible after the AST looping was moved outside the … `with-temp-buffer` construct: … PR # [[https://github.com/kaushalmodi… (037cff5)
  • Don’t allow `org-export–parse-option-keyword` input to be nil (a5a110b)
  • Set the starting position to search for EXPORT_​​OPTIONS … When the target file is not open, the start position defaults to 1 and … so the EXPORT_​​OPTIONS in the heading where we intend to search is … (c8c9cb8)
  • #+​​bind keywords need eval in org-hugo–search-and-get-anchor … Fix a test that regressed in PR # 598/commits/dd09f72c6b7323ed16579a93af121aac68d8… (7c8c3be)
  • Ensure that the arg of `goto-char` is non-nil … Fixes error: (wrong-type-argument integer-or-marker-p nil) when trying … to export with point not inside any valid post subtree. (a121603)
  • Leave `save-silently` at nil when running emacs in –batch mode … Oddly, in –batch mode, setting `save-silently` to t makes the … `save-buffer` print a blank line instead of the “Saving file ..” … me… (2d3df68)
  • Elapsed time was being printed as a negative value on GHA … Unable to reproduce that issue locally. (2ffbf42)
  • Auto-escape HTML special chars like <, > when <kbd> wrapping (d04f41a)
  • Fix #606 … `message` already accepts the format string, which is used in the code above, so there’s no reason to call `format` (0900ee2)
  • Hiding .table-number CSS class should hide the trailing colon … Related: Issue # 591 … Fixes Issue # [[https://github.com/kaushalmodi/ox-hugo/iss… (957b017)

📝 Documentation #

  • Document the special comment <!–endtoc–> after Org-generated TOC (d53acbb)
  • Document #+​​hugo_​​front_​​matter_​​key_​​replace (c9da3f4)
  • Document the Org capture template fn for Page Bundle posts (2269e75)
  • Documentation update related to new draft related defcustoms (c9b825f)
  • Doc fix (c972c31)
  • Document the csl meta-data (bf76cc7)
  • Document the copying of images with bundle names in their paths … Ref: … - Issue # 324 … - Issue # [[https://github.com/kaushalmodi/ox-hugo/issue… (93e4c9e)
  • Update Spacemacs configuration instructions … Thanks to @nonducor for their PR in PR # 440. (be7fbd9)
  • Document Org Special Blocks support … Related: Issue # 126 (60c4b74)
  • Document the support of Hugo Shortcodes … Closes Issue # 126. (8abbf78)
  • EXPORT_​​FILE_​​NAME property subtrees need to be leaf nodes … Fixes Issue # 365 (df6b6a4)
  • Document MathJax config example … Ref: Issue # 509 (d97c979)
  • Fix typo (3243773)
  • Document the whitespace trimming feature (90c944c)
  • Doc site: Remove relative links to files in themes/ … Now that Hugo Modules are used, we do not have local path to the … themes. (c047449)
  • Doc and test sites: go.sum should be committed along with go.mod … https://github.com/golang/go/wiki/Modules#releasing-modules-all-versions (b6f6e13)
  • Document heading ‘anchors’ (558c953)
  • Add example of setting a special block type’s :raw property … Fixes Issue # 547 (887a8d7)
  • Fix typo (480ef9e)
  • Document user config fix for exports with mixed line endings … Fixes Issue # 552. (05d0c9c)
  • Document use of Org-Cite citations; remove outdated Org-Ref instr … Remove “Org-ref Citations” page from the manual because it suggested … installing https://github.com/andras-simonyi/citeproc-org. Bu… (a0631aa)
  • Revive the old org-ref doc page with a deprecation notice … Ref: Issue # 554, PR # 555 (1018ad1)
  • Document CSL and new `org-hugo-citations-plist` defcustom (5495317)
  • Update “Org-ref Citations” page … Simplify the org-ref citation test (56f420e)
  • Minor update (36bf570)
  • Update org-cite and org-ref citation docs (409e20b)
  • Clarify that Melpa should be used, *​​not*​​ Melpa “Stable” … Ref Issue # 563 (2a452b8)
  • Improve suggested config code; don’t use bare lambdas (11d5478)
  • Document “Target Links” in Anchors page (a7cb6b9)
  • Checkdoc fix … [skip ci] (27c3cb1)
  • Use the new pagelink macro instead of the doc macro … The pagelink macro internally uses Hugo to look up pages by the … provided title. So any incorrect pagelink references will be caught at … Hugo bu… (e1c1168)
  • Update “Pandoc Citations” page (c9fe5be)
  • Update README.org by running `make doc_​​gh` (0dfb063)
  • Minor grammatical edit for consistency … - in-built -> built-in … - inbuilt -> built-in … Ref: https://ell.stackexchange.com/q/16886/152011 (fc267f4)
  • One more grammatical fix (76d8593)
  • Rename ‘pagelink’ shortcode and Org macro to ’titleref’ (ad1193e)
  • CSP fix .. Fix font src used in iosevka.css (fd55c64)
  • Users.toml: Fix TOML key (616c31a)
  • Document the multi-lingual support (e68625b)
  • Add “This site is powered by ..” … [skip ci] (4a9e712)
  • Add a note that `lineNumbersInTable =​​ false` must not be set (b26e986)
  • Mentions the functions being called by default export bindings … Fixes Issue # 583. (3a3778f)
  • Update README too … Ref Issue # 583. (23ea546)
  • Remove reference to pandoc-citeproc … pandoc-citeproc hasn’t been needed for past few pandoc versions now. (b088734)
  • Front-matter replacement ex.: export authors instead of author … Fixes Issue # 608. (fc1fc8c)
  • Inline the `author.html` partial code in the ‘Author’ doc (9454948)
  • Add CHANGELOG generated using git-cliff … https://github.com/orhun/git-cliff … Fixes Issue # 563. (a854100)

❤️ Real World Examples #

  • Add Real World Examples! … @punchagan @lambdaloop @shimmy1996 @isaaczhou @zzamboni @dmolina … @shanesssveller @edkolev @vinurs @xianmin @jwiegley … See https://ox-hugo.scripter.co/doc/examples/ . (f380d68)
  • Add one more real world example (74e565b)
  • Add one more real world example (c483894)
  • Add one more real world example (305e535)
  • Add more real world examples … Thank you @ldenman and @amca01 for sharing the site Org source. (f9a8513)
  • Add real world example: https://zcl.space … Thanks @emacsun! (d286990)
  • Add real world example: https://cadadr.github.io/elisp/index.html … Thanks @cadadr! (eb82766)
  • Add more real world examples … Thank you @xianmin @dkensinger @justinbarclay @bebound @emilioj … @cdodev @lowkey2046 @inzkyk and @drdavis for sharing your site … sources. (f0b9c31)
  • Add Real World Examples (44aae25)

♻️ Refactor #

  • Support exporting shortcodes with positional arguments # take 2 … Add new attribute #+​​ATTR_​​SHORTCODE: to specify positional arguments … for the shortcode following “:args”. … Example: … #+​​attr_​… (0150797)
  • Minor refactoring … Also tighten the regexp for matching the special block type with an … element from HUGO_​​PAIRED_​​SHORTCODES. (d997c27)
  • Update doc-string of org-hugo–delim-str-to-list … Also refactor the internal variables from delim-str to str and the … older str to str-elem. (4b80d2f)
  • Test refactor; use Org macro oxhugoissue (aba67e1)
  • Refactor few tests in Org … - doesn’t change the exported Markdown (fe5b77f)
  • Refactor org-hugo–quote-string … This commit shouldn’t change any functionality in … org-hugo–quote-string.. at least for the use-cases that I can think … of. So the tests at least still pass. … If … (a9ec706)
  • Minor refactoring (d25d5d5)
  • HUGO_​​PANDOC_​​CITEPROC -> HUGO_​​PANDOC_​​CITATIONS (b111d2a)
  • Minor refactoring of tests … Inherit the common Pandoc citation meta data for the Citations TOML … and YAML tests. (7c2a51f)
  • Throw user-error if pandoc run fails … Also refactor the functions/vars in ox-hugo-pandoc-cite.el: ox-hugo -> … org-hugo. (393b209)
  • Disable Pandoc fenced divs, now allowing ox-hugo inserted HTML divs … This also drastically reduced the Pandoc output cleanup complication. (c8770f4)
  • Remove unnecessary file-truename step … The –bibliography file names are always relative to the directory … containing the Org file. (f225884)
  • Minor refactoring … Prevent current-level-inner and relative-level calculation if local is … nil. (4a77747)
  • Refactor code into an org-hugo–pandoc-citations-enabled-p fn (2d3cfad)
  • Refactor the new org-hugo-suppress-lastmod-period code (a9b7ffe)
  • Minor refactor (20a6f12)
  • Code cleanup; Remove org-hugo–section (e33b3dc)
  • Minor refactoring (99e7715)
  • Added a git ignore file and ox-hugo-autoloads.el to cleanup rule … I added a .gitignore to ignore doc/content, doc/public and … ox-hugo-autoloads.el. I also added ox-hugo-autoloads.el to the make … cl… (daf7744)
  • Minor refactoring to more apt names (a471449)
  • Rename ox-hugo-auto-export.el -> ox-hugo-auto-export-mode.el (0a5af8a)
  • Refactoring to use org-hugo-auto-export-mode elsewhere in the repo (64a3481)
  • Pending cleanup after last commit (6bab5b8)
  • Code cleanup (c29e98b)
  • Revert “Code cleanup” … This reverts commit commit # c29e98b. (182987a)
  • Revert “Revert “Code cleanup”” … This reverts commit commit # 182987a. (daadf09)
  • More code cleanup … - Remove redundant code around org-hugo–subtree-count … - Make the org-hugo–export-file-to-md and … org-hugo–export-subtree-to-md interal functions.. user should only … need to … (83b213e)
  • Refactoring for consistency (325c655)
  • Minor refactoring (00fbbd6)
  • Print-subtree-count -> all-subtrees (0aaf777)
  • Remove the unnecessary uses of org-hugo–sanitize-title … Replace it with org-hugo–get-sanitized-title. (7470d28)
  • Minor refactoring … Prep for HTML_​​CONTAINER support. … Ref: Issue # 271 (fa67896)
  • Simplify further for all pandoc versions (2e4b9dd)
  • Clean up broken links (4a5bfeb)
  • Refactor `org-hugo-paragraph` – No functional change (f2d2c81)
  • Refactor headline -> heading for consistency … Motivation for this change: … - https://lists.gnu.org/r/emacs-orgmode/2021-07/msg00563.html … - https://lists.gnu.org/r/emacs-orgmode/2021-08/msg00056.ht… (2bd84cc)
  • Minor refactor … Get the :hugo-goldmark value from the info plist instead of changing … the signature of `org-blackfriday-footnote-section’. (2ed52ac)
  • Rename an internal function name for consistency … The “maybe” function names *​​end*​​ with `-maybe`. (49877e2)
  • Example block: Fix a bug introduced in Blackfriday mode; refactor … Add test case for highlight sc export for example block. (a9927fa)
  • Refactor `org-hugo-src-block` and `org-blackfriday-src-block` … No functional change … Refactoring done for better code clarity and to prep up for the … changes needed in src block export for … Issue … (f959758)
  • Add `org-blackfriday–get-ref-prefix` helper fn … This function is used to communicate the ref/link prefix string from … ox-blackfriday to ox-hugo. (fad6532)
  • Font cleanup on doc site (904e06e)
  • Minor refactoring (335efd9)
  • Minor refactor for DRY … Adds org-hugo–get-coderef-anchor-prefix that gets the code refs alist … and the anchor prefix for that code block element. (81bfa72)
  • Simplify the regexp based replacement for whitespace trimming … This also fixes the case where a ws trimming enabled special block … comes immediately after a heading. (be849de)
  • Test refactor: Name the dummy block “foo” instead of “sidenote” (0ce330a)
  • Minor cleanup; no functional change (b517978)
  • Remove the unnecessary 3rd optional arg (467ef65)
  • Add new defcustom `org-hugo-anchor-functions` … This is mainly a refactoring commit that doesn’t change the previous … behavior of `org-hugo–get-anchor`. … This commit allows a user to give higher pr… (4e86d12)
  • Update a test; the refactoring helped clean up empty `#` anchors (166d19a)
  • Add `org-blackfriday–get-style-str` … `org-blackfriday–get-style-str` is extracted out of … `org-blackfriday–div-wrap-maybe`. (02ff6ac)
  • Rename org-hugo-get-heading-slug to org-hugo–heading-get-slug (3dcd042)
  • Minor refactor of `org-hugo–search-prop-in-parents` … Also wrap the fn in org-with-wide-buffer so that the point and … narrowing are preserved. (b64d5e6)
  • Add `org-hugo–get-elem-with-prop`; no functional change … This function replaces the old `org-hugo–search-prop-in-parents`, and … most of the code inside `org-hugo–get-valid-subtree`. … ERT test is… (100eca7)
  • Clean up the moving of the AST loop (7d8c65f)

🔨 Testing #

  • Test multi-paragraph summaries (ce8985b)
  • Support Pandoc link-citations meta-data; add test … Ref: Issue # 177 (03f7fa4)
  • 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. (dd16904)
  • Use Pandoc binaries from ${OX_​​HUGO_​​TMP_​​DIR}/pandoc/bin (3bbf8ab)
  • Remove duplicate tags from few tests … Ref: Issue # 252 (14ecc11)
  • Add more vchecks as appropriate (57f9d43)
  • Bump pandoc version to fix tests (a359d19)
  • Update pandoc versions and logic (b533fc9)
  • Test case showing Hugo won’t support multi-line content in footnotes … Issue # 433 (be89fea)
  • Add external id link test org files & fix (2fd5e6b)
  • Regenerate few test SVGs using plantuml v1.2022.1 … Older SVGs were generated using plantuml v1.2018.14. … Ref: Issue # 552 (e52b7e5)
  • Re-org Pandoc citation tests (373b75c)
  • Add example of exporting a tikz diagram using dvisvgm … Ref Issue # 565 (58a685c)
  • Add test for paragraphs in descriptive/definition lists (ee87af8)
  • Test the testing using ‘make ert’ (5e63d65)
  • Test that the CI passes now (5e7cc6f)
  • Add tests for `org-hugo-get-md5` (7b51ed9)
  • Allow running only selected ert tests … Update manual. (5868587)
  • Update `org-hugo-get-heading-slug`; add tests … Ref: Issue # 389 (36a4b3a)
  • Uncomment an unrelated test (d29f3d8)
  • Advice `org-current-time` instead of `current-time` for tests … That way, the `current-time` can still be used to calculate the time … for all-subtrees exports. (5cbe31e)
  • Add test for percent symbol in the title (0598b6d)

🍱 Other #

  • Minor presentation improvement for multi-line strings in TOML (4101ece)
  • Remove the extra whitespace that leaked into multi-line TOML strings (342354e)
  • Minor text edit in tests (960579b)
  • Auto-inherit HUGO_​​FRONT_​​MATTER_​​KEY_​​REPLACE property (a88df9b)
  • Support exporting “locale” front-matter … It’s used in the Hugo-internal template “opengraph”: … https://github.com/gohugoio/hugo/blob/2fa70c9344b231c9d999bbafdfa4acbf27ed9f6e/tpl/tplimpl/template_%E2%80%8B%E2%80%8Be… (ebb670b)
  • Move bare_​​min theme to a separate repo … https://github.com/kaushalmodi/hugo-bare-min-theme (ff6890a)
  • Copy attachments to more obvious location for page bundles … Now if the attachments are in the same dir as the content Org file, … the full directory hierarchy for those attachments is preserved when … (526f84a)
  • Allow more file types to be auto-copied to static/bundle dirs (a19207e)
  • Commit an image file missed out in the prev page bundle image test (0cf366c)
  • Use the hugo-supported HUGO_​​BASEURL … .. instead of creating a new variable for that. (3de0027)
  • Use link attribute in figure when suitable … The Markdown form [{{< figure .. >}}](some link) results in wrapping … the <figure> in <a> in the final HTML, which is invalid. … - Non-inlined hyperli… (e92fcf0)
  • Reduce noise when running “make test” locally (ab1022b)
  • Support exporting (non-)hyperlinked inline images … - Inlined non-hyperlinked images, no meta or only alt – Use Markdown image syntax … - Inlined hyperlinked images, no meta or only alt – Us… (2ca387c)
  • Support passing target and rel attr to inline hyperlinked images … Also, now the target and rel attr are once again passed on to the … figure shortcode (a better solution to straightaway discarding th… (82386c3)
  • Support exporting shortcodes with positional arguments … Add new attribute #+​​ATTR_​​SHORTCODE: to specify positional arguments … for the shortcode following “:args”. … Example: … #+​​attr_​​shortcod… (74cb3c2)
  • Lower case all Org keywords … Let there be: … #+​​options: … #+​​begin_​​src emacs-lisp … … … #+​​end_​​src … .. and so on. … Command used for this lower case conversion: … (defun modi/lower-case-or… (ad1b513)
  • Add test for external links … Ref Issue # 132 (49557cb)
  • Retrieve 2 overwritten test cases … Had the EXPORT_​​FILE_​​NAME the exact same for 3 test files by mistake. (8c154ef)
  • Resolve a failing test … - It passed on Org master, but failed on Org stable. … - With this commit, it should pass on stable too. (404a022)
  • Add a test for referencing equations … Issue # 130 (1ac374c)
  • Re-factor org-hugo-link function for clarity (d019548)
  • Add basic cross-linking support using relref shortcode … This works *​​*​​only for links TO per-file export flow Org files*​​*​​. … - The linked files must not have a custom `#+​​export_​​file_​​name`… (4ddc010)
  • Update a test to reflect the update of figure shortcode in hugo core (5869e65)
  • Pass the special block set description the right way … Use plist-put and plist-get instead of passing the description value … via a global variable. … To my surprise, the plist-put and plist-get works… (0eda7c3)
  • Mention org-log-done for CLOSED property # manual (3accd50)
  • Allow inheritance of date and slug properties (ae693b9)
  • Allow inheritance of other dates too … .. for the same reason as for the previous commit.. useful for … inheriting these to the same posts in different languages. (a8ae44e)
  • Require subr-x for string-trim-right (ad9a7eb)
  • Another attempt to make this work on emacs 25.x and older … string-trim-right got an optional 2nd argument only in emacs-26: … http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=%E2%80%8B%E2%80%8Bemacs-26&id=%E2%80%8B%E2%80%8Bc189… (d35f53a)
  • Append “Figure N: " to figure captions … This adds consistency with the table and source block captions. (27397f2)
  • Use org-html–translate (“Listing N:”, “Table N:”, ..) (6679abd)
  • Adjustment to path translation when path contains “static” … If an attachment path contains “static”, that attachment is copied … to the site’s static/ dir *​​even in page bundles*​​. … This allow… (458d654)
  • Remove separate logic specific to blackfriday front-matter parsing (7047e5c)
  • Minor comment updates (7bde741)
  • Rearrange page weight tests (de397f0)
  • Minor code optimization; use mapcar instead of dolist (0226013)
  • Update org-hugo-debug-info with the new defcustom from prev commit (7d7d564)
  • Revert “Add blank line before the closing div tags; HTML5 validity” … This reverts commit commit # 654dba0. … (cc19242)
  • Remove redundant ‘.Match “*​​”’ … Thanks @budparr … https://discourse.gohugo.io/t/hugo-leaf-and-branch-bundles/10892/13?u=%E2%80%8B%E2%80%8Bkaushalmodi (9201b87)
  • Allow HUGO_​​LAYOUT property to get inherited too (8c792bd)
  • HTML validation and consistency edits: Ending HTML tags in spcl blks … Now, the ending </tag> or </div> inserted as part of special block … exports will have an empty newline before that closing tag. (2a762a4)
  • Update a test case for a Blackfriday bug … russross/blackfriday #239 (8d2ccf4)
  • Inherit the HUGO_​​SERIES property (ab0ccf2)
  • Escape backslashes in front-matter … - Handle single-line and multi-line front-matter values for both TOML … and YAML. (428afda)
  • Use Hugo getJSON to get last committed dates for Examples (56da5ee)
  • Update GitHub README (23a8b00)
  • Move the “Real World Examples” link (8f2b42c)
  • Github ignores #+​​begin_​​note block completely; so reorg prev commit (15a6df0)
  • Update description special block example (22622b3)
  • Accommodate for the org-get-tags definition change in Org 9.2 (bcfb3eb)
  • Http -> https (e6e5eb7)
  • Remove integrity check for the locally served .js scripts #doc … From … https://securityheaders.com/?q=%E2%80%8B%E2%80%8Bhttps%3A%2F%2Fox-hugo.scripter.co&followRedirects=%E2%80%8B%E2%80%8Bon, … it’s not advisable to enable CORS for… (7982508)
  • Add an example showing how to wrap Org headings in HTML tags … Ref: Issue # 160 (58a4aef)
  • Whitespace consistency (4e016b5)
  • Bug fix: Don’t post-fix todo keywords with spaces … That caused the member match in org-todo-keywords to always fail in … org-html–todo. (76f350c)
  • Break out org-hugo–replace-underscores-with-spaces as a separate fn (03160b8)
  • Update tests (f87c82a)
  • Enable error back-trace, for user-error too (58e73e1)
  • Eval the org-hugo–get-tags alias each time … Earlier, it got byte-compiled and so the compiled ox-hugo couldn’t be … used between old and new Org versions. … Workaround is to wrap the logic in with-n… (a5f4359)
  • Make the nested lists test more interesting (4fbcb88)
  • Update org-hugo-special-block doc-string (14533c9)
  • Use “summary” Org Special Block instead of the “—” string (2bc4448)
  • Update documentation and tests about details/summary … Related to … commit # 2bc4448 … Discussion on Org mai… (b23348c)
  • Move the details Special Block parsing to ox-blackfriday … Change the open drawer attr_​​html syntax from “open” to “:open t” to … fit with general Org attr_​​html syntax. … Always insert a newline be… (3896f29)
  • Update an inline HTML – Special Block test based on prev commit (c860032)
  • More details/summary tests (bf68e6b)
  • 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 expor… (49ac577)
  • Leave the front-matter values that would be bigints as strings (c504e21)
  • Update hugo-debugprint submodule (cde5cfb)
  • Update hugo-search-fuse-js submodule (442616c)
  • Org-hugo–quote-string now returns an empty quoted string by default (a716fee)
  • Add tests to assure that empty sections are supported … Ref: Issue # 164 (4d22bcd)
  • Check that “menu” and “resources” have list values … Ref: Issue # 165. (cbda4f7)
  • 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 (123ccd4)
  • Workaround for Blackfriday issue 239 for example blocks too … - russross/blackfriday #239 … - Issue # [[https://github.com/kaushalmodi/ox-hugo/i… (2f50f14)
  • Handle empty Org Special Blocks (50cddf5)
  • 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_… (9fe197e)
  • 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: … - Issue # [[https://github.com/kaushalmodi/ox-hugo/is… (85b1377)
  • Use org-done-keywords; Remove 2 recently added defcustoms … - Removed defcustoms: org-hugo-todo-keywords and … org-hugo-default-draft-state … Ref: … Issue # [[https://github.com/kaushalmodi/ox-hugo/is… (41710e5)
  • Update a test … .. for the change in recent commit … commit # 41710e5. (ae1f6ea)
  • 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: Iss… (ad2f5d0)
  • Move the BIBLIOGRAPHY parsing to org-hugo–after-export-function (65e3766)
  • Move Pandoc Citation code to ox-hugo-pandoc-cite.el (eb85f26)
  • 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 bi… (e94c9d5)
  • Delete lines matching “^:::$” (c4251ab)
  • Replace pandoc ref ID’s to HTML ID’s (ac22a16)
  • More fixing of Pandoc output (f2c1ab9)
  • Apparently the “–filter pandoc-citeproc” is redundant here (db1025c)
  • Convert the Pandoc inserted “:::” to more sensible div wrappers (96d13b1)
  • Print the full pandoc command in Messages (3d590d0)
  • Add few comments to the citations test … Ref: Issue # 175 (c6949a5)
  • Don’t force the final front-matter to YAML because of Pandoc (3dcec7e)
  • 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_​​tab… (e62cc25)
  • Make Pandoc first output to a temp file; contents are copied later (b061857)
  • Don’t run Pandoc at all if neither nocite nor citation keys present (6c94396)
  • Show an alert message if Pandoc run buffer is not empty (bb6575b)
  • Restore Ox-hugo exported Markdown file if Pandoc output has no refs (b78ddba)
  • Don’t require ox-hugo-pandoc-cite unless Pandoc parsing is enabled (38775bd)
  • Make Pandoc output Markdown footnote style consistent with ox-hugo (eaaed01)
  • Use HTML class instead of id for “references” (4e4e7d2)
  • Move the location of test .bib files (f2a6517)
  • Minor formatting edits to the previous commit (e36e557)
  • 301 https://ox-hugo.netlify.com/*​​ to https://ox-hugo.scripter.co/*​​ (40c7f33)
  • Make the Author documentation thorough … Ref: Issue # 180, … Issue # 178 (4db4e78)
  • Update “#+​​begin_​​export html” test (850c10d)
  • Update the “#+​​toc: headlines N local” test (4ed632e)
  • Don’t export unnecessary CSS classes (37e4f0f)
  • Update TOC documentation (a8f0ee2)
  • Minor rewording in the manual (99246ed)
  • Allow removing front-matter keys using hugo_​​front_​​matter_​​key_​​replace … Simply set the “newkey” to “nil”. See … https://ox-hugo.scripter.co/doc/replace-front-matter-keys/#removing-keys (cb2ed1d)
  • Minor doc update (f06f33f)
  • Updated cf-learn.info URL to https … I have migrated my https://cf-learn.info/ website to Netlify as well, and now it enforces SSL connections. (982dd08)
  • Remove few fns obsoleted about 7 months back (c6f7187)
  • Move auto-export on save stuff to new ox-hugo-sugar.el (4e93151)
  • Update .dir-locals.el … (Not sure why I had that extra (nil . ..) nesting..) (0e9c312)
  • Revert “Move auto-export on save stuff to new ox-hugo-sugar.el” … This reverts commit commit # 4e93151. … Th… (358929b)
  • Redo splitting of the auto-export fns to separate file (7b8a64a)
  • Update GitHub README too (9e39d24)
  • Update docstrings and comments (ff9ebfc)
  • Update bigint check for Emacs 27+​​ … On Emacs 27+​​, intergerp is sort of `(or bigintp fixnump)`. So use … fixnump in newer Emacsen. (efbb6ce)
  • Add check that pandoc-citeproc is installed too … Ref: Issue # 191 (370d60d)
  • Don’t allow shortcodes to wrap over multiple lines … Pandoc auto-wraps the re-written Markdown. While I like this behavior … in general, it breaks the Hugo parsing as it does not allow newlines … betw… (703823f)
  • Remove fluff from the last citations+​​caption test case (016959c)
  • Allow disabling Pandoc citations in subtrees (0670d75)
  • Add explicit -j1 to the make command … Looks like it is needed on MacOS. On GNU/Linux systems (mine [RHEL … 6.8] and on Travis CI), that is not needed. … Ref: … - https://twitter.com/takaxp/status/103… (f8a052e)
  • More real world examples! … Copying @ryancummings, @taipapamotohus, @grugrut, @junahan, … @alexmurray, @vdemeester and @emacsomancer. (fc02bd9)
  • Add note about pandoc +​​ pandoc-citeproc requirement for devel … Move common Org macros to doc-setupfile.org. … Ref: Issue # 195 (7185780)
  • Add pandoc mention at few more places … Ref: Issue # 195 (e9e63e3)
  • Use “perl -pi -e” instead of “sed -r -i” for macOS compatibility … Ref: Issue # 195 (f139244)
  • Hard-code the LANG env var so that `make test` passes *​​everywhere*​​ … Ref: The auto locale detection test failure (“ja_​​JP” vs “en_​​US”) in … Issue # [[https://github.com/kaushalmodi/ox-hugo/issu… (cd33b6e)
  • Revert “Add explicit -j1 to the make command” … This reverts commit commit # f8a052e. … This wasn’t effectiv… (82a907d)
  • Use “make -j1 test” instead of “make test” (31156be)
  • Set LANGUAGE instead of LANG env var as that has higher precedence … Hopefully this is a better fix instead of … commit # [[https://github.com/kaushalmodi/ox-hugo/commit/cd33b6e356b2585cf0d21062b547d9… (99d3549)
  • Use “-exec .. +​​” instead of xargs … Ref: https://mastodon.technology/@kaushalmodi/100628787896895257 … Thanks to https://mastodon.social/@pl for this suggestion. (7b7858e)
  • Revert “Revert “Add explicit -j1 to the make command”” … This reverts commit commit # 82a907d. … Ref: … Issu… (c726ab9)
  • Move Elisp to setup-ox-hugo.el that does not need to be in Makefile (1bfef80)
  • Get the Last Updated times of Org dirs for the Examples page (51589a4)
  • Remove broken links; fix redirects (60f42a5)
  • More link fixing! … Thanks to https://github.com/wjdp/htmltest. (806eca4)
  • Ignore non-secure http domains in user examples (058a101)
  • Highlight insecure sites ;-) (f8dff3f)
  • Flip the previous commit; highlight the secure sites instead (29a2e5d)
  • Update a link (3de6e2e)
  • Comment out one more site so that the site build passes (61bf2fe)
  • Enable EnforceHTML5 option for htmltest … Re-add a user example link. (65b9ba2)
  • Use ` instead of " in Go templates to prevent escaping " (d31eb31)
  • Extract post’s date retrieval logic into org-hugo–get-date fn (3610722)
  • Comment update (69ce5df)
  • Enable the default Creator test (758ab72)
  • Minor rephrasing and edits (c4d349e)
  • Update tests for the suppress lastmod feature (d8848b7)
  • Update org-hugo-debug-info and fix one of the recent tests (7cd9b24)
  • Revert “Revert “Enable the default Creator test”” … This reverts commit commit # 59122d4. (c57216a)
  • Enable ox-hugo tests specific config only during “make test” (c9fdd87)
  • Don’t wrap the meta refresh URL’s with single quotes (a6e0a55)
  • Add tests for to be implemented LOGBOOK parsing #tdd … Ref: Issue # 203 (7e45592)
  • Enable exporting of drawers for the LOGBOOK tests (ddb98d3)
  • Consider the case where date-str can be nil … PR # 197#issuecomment-421533876 (bdc20fb)
  • Update Emacs binary version (ebf37ef)
  • Attempt to fix htmltest timeouts (5602dde)
  • Ensure that auto-export is resumed at the *​​end*​​ of Org captures … Add `org-hugo–allow-auto-export-after-capture` at the end of the … `org-capture-after-finalize-hook` hook, not at the beginning, … (67c1295)
  • Update branch+​​dir link for sr.ht repos (4de4b06)
  • Default sep to "” if nil (849c895)
  • Now EXPORT_​​HUGO_​​BUNDLE values are concat like EXPORT_​​HUGO_​​SECTION*​​ … Ref: Issue # 210 (7b093ef)
  • Revert the previous commit that masked incorrectly added "” tags … Ref: Issue # 221 (9f35082)
  • Remove the erroneous empty-tag test file (11717d1)
  • For consistency, make the audio front-matter a list too … .. like the videos and images front-matter. (c0f3ec5)
  • Revert “For consistency, make the audio front-matter a list too” … This reverts commit commit # c0f3ec5. … O… (2ee6036)
  • Add “front-matter extra” feature … Ref: Issue # 226. (ca0e602)
  • Obsolete org-hugo-default-section-directory; now org-hugo-section (e1d8b32)
  • Autoload safe-local-variable for all defcustoms (53f9525)
  • Add a test to verify setting of Org Hugo vars using .dir-locals.el … Ref: Issue # 101 (ef76a13)
  • Remove unused info arg from ob–get-reference … This is continuation of the previous commit … commit # [676d931… ([[https://github.com/kaushalmodi/ox-hugo/commit/ecac30a6f118418fd211d6e798b956ff4e6a4f44]ecac30a)
  • Add internal variable org-blackfriday–org-element-string … Remove hard-coded bits of “Code Snippet”, “Figure” and “Table” … strings. Now manage those strings from one place, in this new alist. … Ref:… (20cafde)
  • 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. (237ca04)
  • Cover a corner case for org-blackfriday–translate (7fb284e)
  • Set the EMACS variable correctly when inside emacs … When running from a shell inside of emacs the EMACS variable is set to … a literal string with the format: … emacs-version (term: term-protocol-ver… (24bc279)
  • Remove ox-hugo-autoloads.el silently … Added the -f flag to silence rm when ox-hugo-autoloads.el does not … exist during clean. (849d648)
  • 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 … gen… (db9ecc7)
  • 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. …… (30f1e1e)
  • The env var USER is undefined on Netlify; so define it to something (5fa6ab8)
  • Make the dir of emacs binary extraction consistent with other bins (4bea80d)
  • Create OX_​​HUGO_​​TMP_​​DIR if it doesn’t already exist (5beb62f)
  • Looks like I cannot extract emacs binary to any arbitrary location (48e28a2)
  • Update dist; use minimal/sh language image (7c010db)
  • Revert back to trusty dist as the emacs binary is built on that … .. and it relies on the libgnutls library (and probably more) from that … OS version. … Also: … - Remove sudo: true; not needed (4f4fabb)
  • Make ‘make clean’ safer … Do rm -rf only of subdirs through find command. (8caa675)
  • Revive the old ox-hugo-auto-export.el for now (88af494)
  • Initial version of minor mode for auto exporting (ba944c6)
  • Update the .dir-locals.el files to use org-hugo-auto-export-mode (43dd925)
  • Update docs about auto exporting via the minor mode (984ba8d)
  • Use `real-this-command` to determine if Org Capture is in progress (9c8af09)
  • 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 … . MOD… (66d632b)
  • Show warning when user requires the old ox-hugo-auto-export.el (c4eeed5)
  • Make the file name match the minor mode name (112a79d)
  • Update GitHub docs (16bbc1b)
  • Prevent getJSON calls when running hugo server … .. to prevent rate limiting from GitHub API. (59bbff9)
  • Apply the org-todo span tag to TODO headings demoted to lists too … Ref: Issue # 250 (47d8dd1)
  • Support captions for inlined SVGs (527e53d)
  • Support em-dash, en-dash, etc. in inlined SVG captions (6731776)
  • Move location of a test SVG file (cbd8f83)
  • Update hugo-search-fuse-js (798df62)
  • Comment out a debug statement introduced in commit # e57f417 (d434982)
  • Bump Pandoc version to 2.6 … https://github.com/jgm/pandoc/releases/tag/2.6 (db827e8)
  • Part 2 of previous commit (4b6dcc7)
  • Use site instead of .Site; don’t attempt to use index on nil (172d59a)
  • Change to reflect the url escaping change in Org mode upstream … Ref: Issue # 264 (57f0c8c)
  • Make #+​​exclude_​​tags work … Ref: Issue # 265 (86a6196)
  • Update existing tests for the change to org-hugo-slug in last commit (40c56b4)
  • Inherit the EXPORT_​​AUTHOR property too (5be9bae)
  • Add test demoing the use of function call for Org keyword value … Thanks @xeijin for this idea! … Ref: Issue # 272 (f8b6ab2)
  • Don’t export the tests added in previous commit during “make test” (83e5f78)
  • Revert “Don’t export the tests added in previous commit during “make test”” … This reverts commit commit # [83e… ([[https://github.com/kaushalmodi/ox-hugo/commit/206de0e82d5b93366b4f014dee7fd43ba8469038]206de0e)
  • Use org-trim instead of string-trim in the issue #272 test … - string-trim is not available on all emacs versions (434cfff)
  • Add test that uses embedded HTML with <video> tag … Ref: Issue # 275 (25e6aea)
  • Do not insert newline/space between multibyte chars (e.g. Chinese) … https://emacs-china.org/t/ox-hugo-auto-fill-mode-markdown/9547/5 (ad9eb05)
  • Commit remaining portion of the test update done in previous commit (98e6b69)
  • Just removing “dist:trusty” didn’t work; try setting xenial directly (0bb7b25)
  • Comment out a deleted repo; fix the nightly ox-hugo docs updates (0333b79)
  • Split org-hugo-export-wim-to-md to multiple functions (7942e14)
  • Just use the input f-or-b-name (be4d994)
  • Revert “Just use the input f-or-b-name” … This reverts commit commit # be4d994. (d6e22bf)
  • Revert “Pass checkdoc” … This reverts commit commit # c6c25f0. (acd343b)
  • Revert “Fix all compilation warnings” … This reverts commit commit # e2c7385. (69a3b7f)
  • Revert “Split org-hugo-export-wim-to-md to multiple functions” … This reverts commit commit # 7942e14. (8e0af91)
  • Revert “Revert “Split org-hugo-export-wim-to-md to multiple functions”” … This reverts commit commit # [8e0af91… ([[https://github.com/kaushalmodi/ox-hugo/commit/fddab0190858aafeaa620ee5f3f9cf2503c8cfa1]fddab01)
  • Revert “Revert “Fix all compilation warnings”” … This reverts commit commit # 69a3b7f. (70b913f)
  • Revert “Revert “Pass checkdoc”” … This reverts commit commit # acd343b. (bf53cae)
  • Revert “Revert “Just use the input f-or-b-name”” … This reverts commit commit # d6e22bf. (2b42889)
  • Use separate let and if instead of if-let … To make all emacs versions happy. (cc6aaa5)
  • Minor fixes in tests (1d881ea)
  • Comment fix (fc3af84)
  • Remove unintended newlines from few messages (4e7be4f)
  • Use the new cross-post linking in ox-hugo-manual.org (2277a14)
  • Do not do the buffer pre-processing unless needed … Now the pre-processing does not happen in these cases: … - When the point is not in a valid Hugo post subtree … - When the point is in one.. but: … … (7991257)
  • Give a unique name to the pre-processed buffer … Useful when needed to switch to one during debug (847d7c3)
  • Nitpicks (769ce59)
  • Make org-hugo–sanitize-title accept an optional title arg … Use it in org-hugo–get-anchor. (01b8129)
  • For cross-post links without desc, autoset it to linked head titles (99a26c9)
  • Do not sanitize title when deriving anchor strings (cb32ad1)
  • Retain markup in titles when deriving them for internal/x-post links (6ab67ef)
  • Minor tweak to commit commit # 6ab67ef (470a708)
  • Mention the need to do (require ‘org-id) in manual steps … Ref: Issue # 285 (34f6a01)
  • Finishing commit commit # ddd68c1 (04e1f3f)
  • Limit the url-path-and-query override only for older Emacsen … Continuation of … commit # 3b3f63f. (75846c9)
  • Copy resources to the bundle directory (8e289e8)
  • Update domain protocol (2dbc719)
  • Switch back to using MathJax v2 until v3.0.1 gets released … Ref: … - Issue # 297 (65e3424)
  • Add an example of creating an Org macro in lieu of a Hugo shortcode … Ref: Issue # 303 (463d2f3)
  • Support cases where Chinese locale is set as zh_​​CH, zh_​​HK, etc. … (continuation of the previous commit) (e42a824)
  • Minor tweak to a test … Remove unexpected newline from the last line of an equation block. (2d055ba)
  • Enable url encoding of links … Blackfriday auto-encoded spaces in Markdown links just fine, but … Goldmark/Commonmark does not do that. (23c061c)
  • Update a test based on the prev commit about url encoding (3427a07)
  • Use the correct function to unhex the URL string (4badf13)
  • Attempt to fix the datatable loading (ce9c4ec)
  • Update hugo-debugprint (2143e78)
  • 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: Issue # [[https://github.com/kaushalmodi/ox-hugo/issues/31… (f95f4d5)
  • Unwrap Japanese characters without inserting space as well … Ref: Issue # 320 (0fafc2a)
  • Do not insert spaces when unwrapping footnote text for CJK langs (4d3890d)
  • Properly do the previous commit … - commit # 1dbf3cf (81e29a0)
  • Update test for Org Babel Results block … Ref: Issue # 319 (a991311)
  • Support #+​​attr_​​html and #+​​attr_​​css above fixed width blocks … Ref: Issue # 319 … Test page: https://ox-hugo.scripter.co/test/posts/org-ba… (0530645)
  • Update Pandoc version in docs (2e814c4)
  • Update Md reference files using pandoc 2.9.2.1 (d352cd1)
  • Minor comment movement (a6175c9)
  • Add tests for issue 360 … Ref: Issue # 360 (d6138da)
  • Throw error on not seeing HUGO_​​BASE_​​DIR when running `C-c C-e H t` too … Ref: Issue # 333 (2ca3e97)
  • Add test for iframe src within an HTML export block … Ref: Issue # 369 (f8e26aa)
  • Ignore test generated folders (5f78c05)
  • Strip backslash from hugo shortcode and square bracket (2a3e48c)
  • Create a separate page for org-ref citations in the manual (77050d2)
  • Respect org-src-lang modes … This change makes sure that source blocks such as a jupyter-python … source block are syntax highlighted as a python source block. (2319914)
  • Revert “Respect org-src-lang modes” … This reverts commit commit # 2319914. … Reverting this for the time be… (75b849e)
  • Update links - robinwils.com (#391) (5a3b1d0)
  • Update test reference md regenerated using the latest Org maint … It looks like the order of tags appended using #+​​filetags was wrong … earlier: … #+​​filetags: alpha beta … #+​​filetags: hyphened-t… (bdecc74)
  • Enable testing on Emacs 27.1 … Disable testing on Emacs 24.x (for now). See … https://lists.gnu.org/r/emacs-orgmode/2020-09/msg00763.html . (071f130)
  • Remove broken URL (95723cd)
  • Don’t make table.el put emacs version strings in Markdown files … It creates unnecessary commit noise and fails the ox-hugo test suite … because the ox-hugo tests are run across multiple Emacs version… (f24c9bd)
  • Adapt pandoc argument list for pandoc v2.11 (citeproc, atx-headings) (f60f076)
  • Update Pandoc version requirement to 2.11.4 (382193c)
  • Update the regexps for Pandoc inserted #refs HTML divs (7adae52)
  • Update pandoc citation reference md files - pandoc v2.11.4 (244d51b)
  • Make the Markdown title for Pandoc references section customizable … Allow this Markdown title to be customized using the new defcustom … `org-hugo-pandoc-cite-references-heading’. … Set this defcusto… (a86ea7e)
  • Specify branch name for the last contribution by @jhoodsmith (be1d5dd)
  • Minor edits in tests (fbaf46c)
  • Commit a forgotten line … Continuation of commit # 2efd045 (354653e)
  • Update README.org … .. by running `make doc_​​gh`. (f68a201)
  • Re-enable testing on Emacs 24.x … This partially reverts commit commit # 071f130. (3e8c868)
  • Remove org-plus-contrib dependency from setup-ox-hugo … Very soon org-plus-contrib will not be available any more from Org … Elpa as it is shutting down. So this was a good opportunity to clean … up t… (eec8609)
  • Install org from Elpa only if ox-hugo-install-org-from-elpa is t … This commit partially undoes the change in … commit # [[https://github.com/kaushalmodi/ox-hugo/commit/eec86094ff657c7b5dee9807ac1fcf9… (600a44c)
  • No use for pandoc docker as Makefile installs pandoc (c529e2b)
  • Handle backslash eacapes according to CommonMark Spec … Fixes #458 (298cd52)
  • Remove “nongnu” from ox-hugo test env … It was causing trouble in local testing with this error: … > Debugger entered–Lisp error: (error “Could not create connection to elpa.nongnu.org:443”) … And an… (8da0d72)
  • Update a doi: link export as per Org 9.5 (4c15965)
  • Issue 470: Add test … Ref: Issue # 470 (953d002)
  • Issue 470: Add the xml tag to the example svg file … Ref: Issue # 470 (5f73f0f)
  • Make sure the extension is string before downcase (88e6068)
  • Allow verbatim `<` and `>` characters in Org source … - Fix the Hugo shortcode `mdshortcode-named.html` definition … - Do not allow raw HTML (containing HTML tags) in Org source. If HTML … inlining is… (568aa72)
  • Remove the special condition for raw Hugo shortcodes in Org source … Anyways, we won’t be able to fully support raw Hugo shortcode calls … from the Org source, and most importantly, it pollutes the Or… (0e54b78)
  • Update Org mode git repo link (b551e98)
  • Use `..` and `#+​​hugo:..` for Hugo-specific content … Example: Uses of injecting raw Hugo shortcodes which only Hugo can … understand. (e64d02b)
  • Remove old test proving the lack of multi-line footnote support (c4189b5)
  • More test fixes for multi-line footnote exports (71f9bd2)
  • Mention this repo’s “Discussions” section (cd313dc)
  • Kill older pre-processed buffers before creating a new one (a387032)
  • Disable the chg in previous commit in Emacs 25.x and older versions … The `kill-matching-buffers’ needs to run silently with “:no-ask” … option and that’s possible only on Emacs 26.x+​​. (dfc0d6c)
  • `pygmentsCodeFences` -> `markup.highlight.codeFences` … Similarly `pygmentsUseClasses` -> not `markup.highlight.noClasses` (6d1fb3e)
  • Allow specifying tags/categories in #+​​filetags for file based exports … Ref: Issue # 443 … This change is mainly to support the fact that Org R… (b31708b)
  • Update a docstring (703ae8e)
  • Bumping up the suggested minimum Hugo version to v0.60.0 (cdac464)
  • Bump up Pandoc version to 2.16.2 (971ea8e)
  • Regenerate reference md files using Pandoc 2.16.2 (2da215e)
  • Untabify (0149519)
  • Copy the ltximg dir to static only if the source dir has changed … That would happen when a file is added/removed in the source ltximg … dir (87024bd)
  • Use .dir-locals.el for the org-roam/org-id tests … Move the location of the test Org files so that it has it’s own .dir-locals.el (cb5d29e)
  • Relref links: Don’t export empty anchors (ca82543)
  • Remove the `org-hugo-langs-no-descr-in-code-fences` hack … This hack was to get around a limitation of the Pygments syntax … highlighter about 5 years back (Pygments did not know how to highlight … `o… (3f41412)
  • Example blocks use code fence instead of `highlight` if Goldmark … Ref: Issue # 305 … Also see https://github.com/kaushalmodi/ox-hugo/discussions… (1583d7f)
  • Src blocks use code fence instead of `highlight` if Goldmark enabled … Ref: … - PR # 499 … - Issue # [[https://github.com/kaushalmodi/ox-hugo/issue… (3bccbd8)
  • Update references to the `highlight` shortcode in manual and tests (6f04f20)
  • Mention #395 in an existing org-id test … Ref: Issue # 395 (e05c713)
  • Better radio-target links that don’t change on each export … Related: Issue # 507 … Radio target links will always have the “org-radio–” p… (94bd2f8)
  • Remove workaround from `make test` now that links are idempotent (8965bab)
  • Add tikzjax Org Special Block support … Ref Issue # 390 (360d314)
  • Update tests where posts have sub-heading tags (5b3f856)
  • Don’t use &nbsp; or &#xa0; to separate the tags … Update the test to include the scenario where tags are used on … sub-headings which will be rendered as list items. (77bb4b8)
  • Don’t export HTML ordered list if only 1st list item has custom numbering … With Org source: … +​​10. [@10] This will be 10! … +​​11. This will be 11. … Earlier it exported to: … <ol class=​​"org-ol”>… (d406014)
  • Use <span> tags instead of <a> for target/radio link destinations … It makes more sense to use <span> tags instead of <a> if those tags … are to serve at link targets and not the actual hyperlinks. … … (5359c93)
  • Support `toml` src lang export … Update org-blackfriday-syntax-highlighting-langs (a161b65)
  • Add test for _​​build front-matter … Ref: Issue # 358 (21ebee4)
  • Allow parsing of boolean type HTML attributes … For example, this now does the Right Thing: … #+​​attr_​​html: :width 320 :height 240 :controls t … .. creates attribute string ’ width=​​"320" height=​… (3c9fe7a)
  • Example block inherits almost all linenum related features from src block … Make `org-hugo-example-block` call `org-hugo-src-block` while simply … setting the lang to “text” and setting the :linenos-s… (65f64b1)
  • Make coderef work even when coderef links appear before code block (f705e5b)
  • Comment out a debug message (0e965bf)
  • Looks like we are stuck with using highlight sc for code refs … - https://discourse.gohugo.io/t/36564/3 … - gohugoio/hugo #9385 (79f0fdd)
  • Remove `HUGO_​​BLACKFRIDAY` tests … Ref: Issue # 528 (1f57950)
  • Obsolete org-hugo-blackfriday-options and org-hugo-blackfriday-extensions … Ref: Issue # 528 (28b877f)
  • Don’t export Blackfriday-specific front-matter if Goldmark enabled … Ref: Issue # 528 (96a210d)
  • Ignore Hugo’s new lock file (d022360)
  • Move deprecated variables and functions to ox-hugo-deprecated.el (dc6ed11)
  • Translate conf-space and conf modes to cfg lang for Chroma (3d8054b)
  • Replace “–” with “-” in export Markdown files … Hugo does not allow 2 consecutive hyphens in slugs derived from … Markdown file names and auto-converts 2-hyphens to single hyphens. Ref … [[https://gi… (451d617)
  • Make `org-hugo-slug` not return slugs with consecutive hyphens … The documentation ( https://ox-hugo.scripter.co/doc/org-capture-setup/ … ) suggests using `org-hugo-slug` to auto-generate the file nam… (6a05158)
  • Update the list of inline HTML5 elements … Update few tests for white-space changes around <summary> and <video> … tags. (7bf88e3)
  • Now the summary disclosure can contain markup even on the first line (8d07939)
  • User.toml maintenance (6032ab1)
  • Support whitespace trimming around special blks using markers <, > … Trim whitespace before: … #+​​begin_​​foo< … #+​​end_​​foo< … Trim whitespace after: … #+​​begin_​​foo> … #+​​end_​​foo> … Trim whi… (b12d5dd)
  • Use <span> tags as fallback instead of <div> if any trimming enabled (bdd2614)
  • Revert “PR # 536: … This feature will be readded after a bit more of thinking.. the … #+​​begin_​​mark<> … #+​​end_​​mark<> … , will works.. does n… (f2f4833)
  • Revert “Revert “PR # 536: … Bring back the first revision of “whitespace trimming feature” from … PR # [[https://github.com/kaushalmodi/ox-hugo/pul… (9ccefc7)
  • Detect :trim-pre and :trim-post in #+​​header above special blocks (052fb6b)
  • Recognize :trim-pre and :trim-post in the org special block plist … `(“mark” . (:trim-pre t :trim-post t))` is added to the default value … of `org-hugo-special-block-type-properties` (ref … Issue # [… (d80d5c7)
  • Do not add “trim-post” markers if the element is the last element (b1de9d1)
  • Ws trimming: Fix case where there’s a > char before trimmed block (9ff4a16)
  • Whitespace trimming: Update manual (9daa818)
  • Ws :trim-post: Pull up next line unless it’s a Md list/heading/code … This was needed if a special block were to export as a Hugo shortcode. (86290c1)
  • Update a docstring (6d48c90)
  • Ensure that anchors are never empty … Use new fn `org-hugo-get-md5` as the fallback function to derive … anchors in the `org-hugo-anchor-functions` list. (c3e3115)
  • Load citeproc if installed (df951a5)
  • Load oc-csl if available as that registers the ‘csl’ processor (1fb65d6)
  • Make the bibliography section regexp a bit more robust … The regexp now looks for a blank line to precede the bibliography … <div> section. … Right now the div section is inserted by oc-csl like this:… (035b623)
  • Don’t require external optional packages in ox-hugo.el (7d7607d)
  • Don’t export a citeproc CSL test if emacs < 26.0 … andras-simonyi/citeproc-el #102 (432e207)
  • Revert “Don’t export a citeproc CSL test if emacs < 26.0” … This reverts commit commit # 432e207. … Nope.. t… (d0d7fdb)
  • Don’t run tests on Emacs 25.3 … citeproc.el throws error on this Emacs version. May be this is … temporary if [andras-simonyi/citeproc-el #10… ([[https://github.com/kaushalmodi/ox-hugo/commit/dcee6156762e7989a0aee1a99debfae2b3b04d6c]dcee615)
  • Update apa.csl to 7th edition … https://github.com/citation-style-language/styles/blob/b33ebfc1b1c3135397b0742fbbb6884a957231ef/apa.csl (51f4ad2)
  • Add example Org file with org-ref style citations … Ref: Issue # 554 (1a0f1ca)
  • There should be no space after `bibliography:` (940cd7e)
  • Pre-process the buffer with org-ref before exporting (eca91a3)
  • Require org-ref in the test environment (73e6573)
  • Support title and style attributes for standalone links … Earlier, if a link’s description was the link itself, Hugo was … re-rendering the description as a link <a> element. This commit fixes … that … (6f5dbf3)
  • Src blocks: Use code block attributes to pass the HTML attr to Hugo (75a9663)
  • Update few tests with code fences and attributes (a2a1b2e)
  • Default change: Default bibliography heading now “References” … The “References” string is consistent with the dictionary key … available in `org-export-dictionary` in ox.el, and also the default … he… (cedf7d7)
  • Create CODE_​​OF_​​CONDUCT.md (349554c)
  • Change the exported `linenos` arg to `true` … This allows the user to change the linenumbers style to either `table` … or `inline` by setting either … [markup] … [markup.highlight] … lineNumbersInTabl… (c6fde61)
  • Change `linenos` arg value to `true`; update tests (efdf4c0)
  • Minor consistency edits; no functional change (d709f56)
  • Add test for file based export allowing broken links … Ref: Issue # 587 (e9b1bac)
  • Move auto-update of org-id locations to the “wim” export function (63c87ee)
  • Silence the “Finding ID locations ..” messages (8f3ba7d)
  • Include colon in the src-block-number span (9202948)
  • Update tests; ref PR # 592 (06ea4f0)
  • Replace `org-hugo–get-element-path` with `org-hugo-get-heading-slug` (d3ea986)
  • Restore the old `org-hugo-get-heading-slug` (69efaf3)
  • Remove a debug message (7e21ec0)
  • Update a test (6d671fd)
  • Commit a remaining change … From PR # 593/commits/75345eece7bea6e3b7b399959b85381332218bec (55a9c52)
  • Pass the correct backend to org-export–get-export-attributes … This doesn’t change anything with the tests. But it doesn’t hurt to … pass the correct value. (87fe8c6)
  • Minor optimization: Make org-element-map lambda return a nil … Ref: https://lists.gnu.org/r/emacs-orgmode/2021-12/msg00474.html … “It is slightly more optimal to make your lambdas in org-element-map …… (9433fa0)
  • Minor tweak to message formatting (66edee9)
  • Do AST looping outside temp buffer … .. so that all (point) based function like … `org-hugo–get-elem-with-prop` can work during the link resolution in … the AST loop. (810961a)
  • Don’t print “Saving file ..” for each exported file (76d77f7)
  • Nice to have: Reduce message noise when doing all-subtrees exports (6e4f74d)
  • Minor edits to the manual (65e349b)

0.8 - <2018-01-26 Fri> #

b47f6f7…9751d34

💥 Breaking #

  • Allow quoted strings with spaces in Org keywords … Org keywords: #+​​HUGO_​​TAGS, #+​​HUGO_​​CATEGORIES, #+​​KEYWORDS … or … Org properties: :EXPORT_​​HUGO_​​TAGS:, :EXPORT_​​HUGO_​​CATEGORIES:, :EXPO… (319435d)

✨ Features #

  • Add few doc strings in setup-ox-hugo.el; trivial edits (b788b02)
  • Add title as a valid menu property (Hugo v0.32+​​) (3500304)
  • Add documentation on Table Styling … Related to Issue # 93 (745f458)
  • Add test for section-bundle content page (_​​index.md) (Hugo v0.32+​​) (c2546f2)
  • Add an image to a page bundle test (130de6b)
  • Add string-to-number conversion for HUGO_​​LEVEL_​​OFFSET (33a344b)
  • Add one more HUGO_​​LEVEL_​​OFFSET test (eb13e13)

✅ Issue Fixes #

  • Don’t double-escape # and ! chars … Fixes Issue # 110 … This actually fixes a bug in upstream ox-md. (3b6a046)
  • Export source block captions … Suggested CSS (used in the ox-hugo test site): … /*​​ Captions *​​/ … .src-block-caption, … .table-caption { … font-style: italic; … text-align: center; … } … Fixes Issu… (eb4b770)
  • Supporting specifying table HTML/CSS attributes … Fixes Issue # 93 (3178391)
  • Support exporting Org Special Blocks like ox-html … It works almost the same way as ox-html, but a little hack is add to … get around a Hugo/Blackfriday limitation that Markdown text cannot be … wrapp… (a2e9396)
  • Export descriptive lists in the style supported by blackfriday … https://discourse.gohugo.io/t/description-list-shortcode/9787/2?u=%E2%80%8B%E2%80%8Bkaushalmodi … Fixes Issue # [[https://github.com/kaushalmodi/ox-hug… (cfaea8b)
  • Support Page Bundles (Hugo v0.32+​​) … - New property HUGO_​​BUNDLE, used to specify the bundle URL. … - If the HUGO_​​BUNDLE is non-nil, it is auto-appended to the full page URL. … - Attachment rewri… (5512bad)

⚡ Performance #

  • Optimize org-bf-latex-environment and org-bf-latex-fragment … Ref Issue # 113 (7cb8263)
  • Improve debugprint partial # test site … - Now number types are recognized … - .Resources is recognized as a slice … - Horizontal rule is drawn automatically after printing a resource or Page type (0e8b72d)
  • Optimize the logic for parsing tags and categories meta-data (31d17ee)

🐛 Bug Fixes #

  • Fix the load-path; Remove unnecessary :append args (08b5d0c)
  • Fix function name … .. should be org-blackfriday-.. in ox-blackfriday.el (e72e323)
  • Fix clickable image links with #+​​NAME … Earlier the a id tag was placed incorrectly.. fixed now. (fef0ec5)
  • Fix minor typo in documentation (ebfca1e)
  • Fix the sections’ landing pages on test site (b869065)
  • Prevent error if front-matter key to be replaced does not exist (1aa2536)
  • Fix post subtree count not getting reset after file-based export (ec94942)
  • Fix quite a few Org keywords that couldn’t be merged … For many keywords like #+​​HUGO_​​TAGS, it is useful to merge multiple … values when this is done: … #+​​HUGO_​​TAGS: value1 … #+​​HUGO_​​TAGS: v… (38eba6d)
  • Fix the default value of :author (b9f108b)

♻️ Refactor #

  • Remove unnecessary defalias (748dd4d)
  • Comment cleanup in Makefile (53cfa26)
  • Rename a test page bundle title (2ce2e57)
  • Simplify the logic for parsing aliases meta-data (7e9565a)

🔨 Testing #

  • Test cases for the HUGO_​​LEVEL_​​OFFSET fix in previous commit … Issue # 117 (0384f44)

🍱 Other #

  • Update README.org too (1d0fae1)
  • Render em dash, en dash and horizontal ellipsis in titles too … This gets around the limitation where the Blackfriday smartDashes … feature does not work on post titles as Hugo does not render the … t… (0f38756)
  • Ensure that the ox-hugo version in repo overrides any other version (7e37425)
  • Set emacs 26 as default; make installing Org from Elpa optional (e947f34)
  • Rewrite org-hugo–sanitize-title; make it more robust … The org-hugo–sanitize-title function is re-written, now with added … test cases for even apparently pathological cases. … Now it is possible to… (dffb7e9)
  • Move Changelog to Main menu (bdb2dc3)
  • Change the order of emacs versions … - Remove emacs-25 branch build … - Remove master branch build temporarily till … https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%E2%80%8B%E2%80%8B25061#144 gets fixed. (24397af)
  • Implement title sanitization in a better way … Instead of getting the HTMLized title string and then stripping off … the HTML tags from that, create an anonymous light-weight backend that … produces t… (59db7bb)
  • Export table captions … Issue # 38 (71e1fdf)
  • Update a test case for a deprecated workaround … Test case tested a workaround for Pygments syntax highlighter which … has stopped being Hugo default since v0.28. (69fc62c)
  • Update table caption test with emphasis characters (fe2be15)
  • Wrap table captions in div tags instead of caption … caption tags should not be used outside table tags - … https://www.w3schools.com/tags/tag_%E2%80%8B%E2%80%8Bcaption.asp … Because of the hugo/blackfriday limitatio… (735d6d2)
  • Switch from http to https for orgmode.org … http://lists.gnu.org/r/emacs-orgmode/2017-12/msg00578.html (938d0f4)
  • Export table caption using HTML backend … .. because that caption is embedded in HTML div tags. (ac92dad)
  • Interpret –, —, .. in source block and table captions (9d3da7e)
  • Remove a 404 link.. seems to work without those png files anyways (6b5383c)
  • Support ATTR_​​HTML above paragraphs … Ref Issue # 113 (8cc6b9a)
  • Support Inline HTML5 element special blocks … Example: Use #+​​BEGIN_​​mark and #+​​END_​​mark to mark/highlight text in HTML5. (a069378)
  • Support ATTR_​​HTML above source and example blocks … Ref Issue # 113 (a5d5a91)
  • Support ATTR_​​HTML above quote blocks (a2d43f3)
  • Support ATTR_​​HTML above plain lists (3fd8f31)
  • Support descriptive lists nested in other lists … This is a workaround for Blackfriday limitation, as there doesn’t seem … to be a way to nest Blackfriday syntax descriptive/definition lists. (972f8b7)
  • Update doc-string of org-blackfriday-item … Also untabify and auto-indent. (5a62461)
  • Lighter weight CSS for descriptive/definition lists … This also looks good on narrow screens. (9c6dd58)
  • Delete an orphan test post (aa9083f)
  • Support “resources” front-matter (Hugo v0.33+​​) … Issue # 115 (314c9f0)
  • Auto-inherit HUGO_​​RESOURCES property (adc6633)
  • Break out publication directory derivation logic to a function (57a28d1)
  • Support the case where the bundle name is set in the post subtree (3ed95b3)
  • Auto-enable org-indent-mode … .. even if the user hasn’t set org-startup-indented to t in their … config. (aa0150d)
  • Allow setting publishdate and expirydate also using Org time stamp … Now you can “C-c . RET” to set values for HUGO_​​PUBLISHDATE and … HUGO_​​EXPIRYDATE properties too (just like you can already do t… (12dc593)
  • Update the “Dates” tests … - Add/update test post tags … - Add few missing test cases for “date” front-matter (03cf11b)
  • Remove the hack for .File that was added to debugprint partial #test … Full discussion here: … https://discourse.gohugo.io/t/how-to-specify-a-function-call-instead-of-field-reference-in-a-partial/9219… (9574360)
  • Support the case where the section name is set in the post subtree … This commit is similar to … commit # [3ed9… ([[https://github.com/kaushalmodi/ox-hugo/commit/d8babf821ae9b84a31ebe9411783646e2ae1bce1]d8babf8)
  • Support “headless” front-matter (Hugo v0.35+​​) … Add example of setting headless page bundles, and then accesses the … child-pages from that bundle from another page. (6440b91)
  • Allow setting alternative key names for tags and categories … New keywords/properties: … #+​​HUGO_​​FRONT_​​MATTER_​​KEY_​​ORG_​​TAGS … :EXPORT_​​HUGO_​​FRONT_​​MATTER_​​KEY_​​ORG_​​TAGS: … #+​​HUGO_​… (e5e6e87)
  • Further optimization of delimited-string to list transformation … - Optimize org-hugo–get-yaml-toml-list-string … - Re-write org-hugo–transform-org-tags-2 as … org-hugo–delim-str-to-list, with bett… (240dd55)
  • Enable replacing any key in the front-matter … New Org keyword/property: … #+​​HUGO_​​FRONT_​​MATTER_​​KEY_​​REPLACE … :EXPORT_​​HUGO_​​FRONT_​​MATTER_​​KEY_​​REPLACE: … This commit obsoletes the 2 ne… (b72a5fb)
  • Make org-hugo–replace-keys-maybe more robust … The org-hugo–replace-keys-maybe function is optimized, gotten rid of … redundant code, and made more robust. … Now it won’t puke if user make an error … (9e3f4be)
  • Derive publish/expiry-dates from SCHEDULED/DEADLINE time stamps … This will work only for subtree-based exports as the SCHEDULED and … DEADLINE properties can be added only to subtrees. (0807f42)
  • Bump version to v0.8; Update changelog (9751d34)

0.7 - <2017-12-18 Mon> #

1213df6…b47f6f7

✨ Features #

  • Add workaround to prevent Org-inserted TOC from leaking into Summary … - Add <!–endtoc–> comment at end of Org-inserted TOC’s. … That acts as an aid to help filter out the TOC from Hugo … summaries.… (c299263)
  • Add a real-world math-heavy example post … Thanks @lsaravia (3b34bae)
  • Add Org macro oxhugoissue to the test all-posts.org (06687c3)
  • Add function org-hugo–hugo-version … Use it in org-hugo-debug-info (d7db495)
  • Add support for Export Snippets and Export Blocks … Now these work: … *​​ Export Snippets … foo … *​​ Export Blocks … #+​​BEGIN_​​EXPORT hugo … foo … #+​​END_​​EXPORT (1149f20)

✅ Issue Fixes #

  • Support list values for custom front-matter variables … Fixes Issue # 99 (5f9b0f3)
  • Document the default value of HUGO_​​CODE_​​FENCE in ox-hugo manual … Fixes Issue # 102 (2ce756d)
  • Prevent Blackfriday/smartParens from running inside equations … Fixes Issue # 104 (39be582)
  • Support Org #+​​CREATOR keyword … Add new defcustom org-hugo-export-creator-string. … Fixes Issue # 106 (72481d7)
  • Support html and md backend tagged export snippets and export blocks … Now export snippets and export blocks tagged with “md”, “markdown” or … “html” get exported by ox-hugo as well. … Fixes Issue # [… (18b1def)

⚡ Performance #

  • Improve printing Page Params for debug in bare_​​min single template (41d0111)
  • Now C-c C-e H H works for both per-subtree/per-file flows … *​​ ox-hugo.el: … - Obsolete org-hugo-export-subtree-*​​ functions and replace them with … org-hugo-export-wim-*​​ (What I Mean) functions. … (b1b5d28)

🐛 Bug Fixes #

  • Fix number of backticks in code fence when code contains code fence (6198bbe)
  • Fix slug generation on emacs 24.5 … Turns out the multibyte punctuation character “:” is detected as an … “alphanumeric” character on emacs 24.5 (not on emacs 24.4 or emacs 25+​​ … though). So need to… (4cc2c3e)
  • Fix/simplify the tags and categories pages on test site (447d361)
  • Fix bug with the “[ox-hugo] Exporting ..” message (6a2b7c2)
  • Fix a typo in doc-string (01ede5a)

♻️ Refactor #

  • Remove unnecessary when form (67f2ef6)

🔨 Testing #

  • Remove ‘fixme’ from one of the tests … It was fixed a while back. (ee27230)
  • Makefile, ox-hugo.el message formatting improvements … *​​ ox-hugo.el: … - Print the number of subtree being exported when doing C-c C-e H A. … - Print the tag that caused a subtree/file to not be exp… (8e2a569)

🍱 Other #

  • Derive Org heading based internal link refs using org-hugo-slug (a89fb81)
  • Parse TOML-compatible integers AND floats (a186c3e)
  • Minor.. Fix links on README.org (b872a40)
  • Hugo partials can be called recursively! (693423f)
  • Make outputs front-matter var a list … - Add test for JSON output creation … - Add single.json in bare_​​min layouts/_​​default for this testing purpose … - Update debugprint.html partial to pretty-pr… (fd7eb84)
  • Mention that HUGO_​​CODE_​​FENCE default value is non-nil in doc strings (842e2e3)
  • Minor re-org of tests and tags (5d9b531)
  • Don’t increase the number of backticks unnecessarily … A better version of the fix in … commit # 6198bbe (80cdaa2)
  • Minor update to a test … .. just because I realized that I had “Hello again x4” followed by … “Hello again x6”, but no “Hello again x5” :) (2df6532)
  • Support exporting Latex Environments from Org too … - org-blackfriday-latex-fragment: Escape *​​ to \*​​ in latex fragments … - org-blackfriday-latex-environment: New function, added to do the … escap… (95dd1ea)
  • Move common logic to org-blackfriday-escape-chars-in-equation (9f8cac0)
  • Minor formatting fixes in a test (0dc672a)
  • Update GitHub README.org that got missed out in last commit (f5803c6)
  • Allow disabling title exports or setting them to empty … .. because you can. … Now the org-export-with-title option is respected. (52453d6)
  • Reorganize and tag few tests (e86ab6a)
  • Support Org #+​​AUTHOR keyword … Also allow disabling author export. … This commit might be a big behavior change for some as now the author … name is auto-exported to the post front matter. … To disa… (852ab6c)
  • Remove Hugo version from default value of creator string … It doesn’t make sense to encode the Hugo version at the time of the … Markdown file generation, because the generation of that has almost no … (1d2357b)
  • Minor formatting improvements (e09eca1)
  • A better version of the previous bug-fix commit (832a5d7)
  • Update an Org internal linking test (876b5b0)
  • Correct the minimum requirement for ox-hugo … It works fine on emacs 24.4 too. … (Tested on emacs 24.3, but fails there as I use advice-add and other … cool stuff from 24.4 onwards.. no point downgrad… (34787be)
  • Don’t set the date front-matter if the date format is invalid … Earlier behavior was to throw an error and abort the export. Now that … is not done. The error is still displayed but as a message. (2504d0c)
  • Change default emacs version to 25.3 (a1b3a95)
  • Update the Export Snippets test … Of course newlines are allowed within the export snippets (but no … blank lines). (054c0b5)
  • Update Org Capture Setup section #doc (da7eed1)
  • Bump version to v0.7; Update changelog (b47f6f7)

0.6 - <2017-11-10 Fri> #

8552ca1…1213df6

✨ Features #

✅ Issue Fixes #

  • Prevent a footnote ref at EOL to be on a new line by itself … Fixes Issue # 96https://discourse.gohugo.io/t/is-it-possible-to-enforce-the-footn… (6eae238)
  • Improve the previous footnotes fix … Now the &nbsp; insertion before the footnote refs will always happen; … not limit to only the cases where footnote refs are at EOL. … Fixes Issue # [[https://githu… (869c98b)
  • Support exporting table column alignment markers … The Org table alignment markers “<l>”, “<r>”, “<c>” translate to the … markers in Markdown tables for left, right, center column alignment as … recog… (40e6519)
  • Fix a peculiar case of quote block with nested source blocks … Fixes Issue # 98 … This is a workaround rather than a fix.. until it gets properly … (7e5799c)
  • Support internal linking to images by their block names … http://orgmode.org/manual/Images-and-tables.html … Fixes Issue # 29 (cf4bcd0)
  • Auto-escape Hugo shortcodes when used in Markdown code blocks … Fixes Issue # 94 (343c10b)
  • Documentation +​​ test update to show the “Images in Content” feature … Fixes Issue # 91 … - Also make the “Test Site” link bold in the sidebar me… (5065b27)
  • Make TOC generation work with num set to nil too … This commit changes the TOC style quite a bit from the earlier … version. Read the below mini-blog-in-commit for more info. … - Add new function org-… (4be378e)

⚡ Performance #

  • Improve setting of aliases … - Now a post can have multiple aliases. … - If the specified alias doesn’t have the section portion, it is … auto-derived from that post’s section. … - To manually specify… (8f8e192)

🐛 Bug Fixes #

  • Fix ATTR_​​HTML above hyper-linked images (0883ee3)
  • Fix the :type and :safe for org-hugo-export-with-toc (bd5166e)
  • Fix Travis.. travis doesn’t know what ‘hugo’ is (2476e8b)
  • Fix exporting table with just one row … - Optimize code: Remove unnecessary progn, nested when … - Remove cruft from org-blackfriday-table about generating dummy … header. That code was ported from ox… (553c510)
  • Fix indentation, untabify (7121309)
  • Fix source block/table/image reference numbering (72f291d)

♻️ Refactor #

  • Code cleanup … Remove the now-unnecessary org-blackfriday-make-hline-builder function … generator. (e1f63d6)

🔨 Testing #

  • Makefile refinement regarding doc generation (76d2d73)
  • Create a dummy header for tables with just 1 row … While we are at it, also add test for a table with just 1 cell. (a542b2a)

🍱 Other #

  • Prefix image links with http/https/ftp where needed (b88b0c6)
  • Download emacs binary for Netlify (fafaf3e)
  • Don’t commit the Markdown files; they will be created via ox-hugo … .. on Netlify (d1b9db8)
  • Mention that .md files for doc are no longer committed (a9e14df)
  • Download emacs tar.gz only if it is not present in path (6e4cfae)
  • Minor fixes … - Make outshine work correctly in ox-hugo.el by NOT using the … alternative style “;; *​​” unknowingly in the comment header (instead … of “;;;;” style). … - Add missing newline in a tes… (04d88ec)
  • Part 2 of the earlier fix for quote blocks with nested code blocks … Now the number of backticks can be even greater than 3; so fix that … regexp to match that. … Issue # [[https://github.com/kaushalm… (a04b632)
  • Support internal linking to source blocks by their block names … http://orgmode.org/manual/Internal-links.html … Issue # 29 (48de866)
  • Support internal linking to tables by their block names … http://orgmode.org/manual/Images-and-tables.html … Issue # 29 (59acb59)
  • Now tests with posts containing randomly gen Org id’s are also run (2e06308)
  • Escape the shortcodes with markdown too … Now the {{% .. %}} shortcodes will be escaped too. … Add a new function org-hugo–escape-hugo-shortcode. … Issue # [[https://github.com/kaushalmodi/ox-hugo/is… (ec61dea)
  • Reorganize subtrees in the manual; Add link to Issues in menu (e8d9496)
  • Support the ’num’ export option … - Add new defcustom org-hugo-export-with-section-numbers … - Default of this option is set to ‘onlytoc … - So there will be no numbers in the body of the exported pos… (0bf0c7f)
  • Bump version to v0.6; Add Changelog (17e5650)
  • Minor style edit.. literally (de6e701)
  • Change the TOC class name to ox-hugo-toc (1213df6)

0.5 - <2017-11-06 Mon> #

c32359c…8552ca1

✨ Features #

  • Add test for multiple #+​​ATTR_​​HTML (caa3aa9)
  • Add support for Org TOC export option and keyword (f0fa731)

🔨 Testing #

🍱 Other #

  • Reformat, fix Image Links documentation (df2b129)
  • Support http/https/ftp links with ATTR_​​HTML (60359d5)
  • Bump to version v0.5 (8552ca1)

0.4.1 - <2017-10-29 Sun> #

30ac7c3…c32359c

🐛 Bug Fixes #

  • Fix EXPORT_​​HUGO_​​SECTION not getting inherited … Fixes #90 … - Also update changelog (c32359c)

🍱 Other #

  • Update contribution guide (c009ea8)
  • Support specifying image height in #+​​ATTR_​​HTML … This feature will work in hugo v0.31 and later versions. … It was implemented in [gohugoio/hugo #4018]… ([[https://github.com/kaushalmodi/ox-hugo/commit/9df23b7c26876b23bdd56a96257fc9a91c56714c]9df23b7)

0.4 - <2017-10-29 Sun> #

c7db412…30ac7c3

💥 Breaking #

  • Don’t change default interpretation of #+​​TAGS #breaking … Fixes #89 … - Restore the default Org behavior of `#+​​TAGS`. Now that keyword (and … the `EXPORT_​​TAGS` property) is *​​*​​not*​​*​​ used … (30ac7c3)

✨ Features #

  • Add tests for indented source blocks (0f43e74)

🐛 Bug Fixes #

🍱 Other #

  • Support specifying the image width in #+​​ATTR_​​HTML … Known issue as of Hugo v0.30: The Hugo figure shortcode does not … support specifying the height parameter! So ox-hugo will support only … the w… (4a476d9)

0.3.2 - <2017-10-24 Tue> #

16cf5d5…c7db412

🐛 Bug Fixes #

  • Fix corner case where post sub-heading tag leaked into front-matter … For a reason unknown, if we have: … *​​ Post title :good: … :PROPERTIES: … :EXPORT_​​FILE_​​NAME: post-title … :END: … *​​*​​ Post… (e6ebac4)
  • Fix compilation error … Using `string-remove-suffix` requires requiring subr-x. (d0e8a5d)
  • Fix bug in metadata parsing if title followed soon with subheading … This affected subtree-based post exports where a post subtree heading … was immediately followed by that post’s sub-heading. … Exam… (c7db412)

🔨 Testing #

  • Test for draft state being broken when post has other headlines (61b426c)

0.3.1 - <2017-10-19 Thu> #

326533f…16cf5d5

🍱 Other #

  • Line numbers annotations when change in number of digits … - Add gen_​​test_​​md target to the Makefile for just generating the … Markdown files, and not doing checks. … - Use the doc Org macro in the… (16cf5d5)

0.3 - <2017-10-18 Wed> #

37d7a0d…326533f

✨ Features #

♻️ Refactor #

  • Remove a now-unnecessary setting … .. unnecessary after switching to Chroma (a8df723)

🍱 Other #

0.2.3 - <2017-10-11 Wed> #

b35dfa0…37d7a0d

🍱 Other #

  • Strip off any HTML from the input string when deriving slug … `org-hugo-slug’ earlier stripped off only the `code’ HTML tag (`<code> … .. </code>’) from the input string, if present. … Now it does tha… (37d7a0d)

0.2.2 - <2017-10-10 Tue> #

a0a1bb9…b35dfa0

✨ Features #

  • Add brief ‘Getting Started’ guide within package commentary … - Minor refinements to overall documentation (781e4c0)

✅ Issue Fixes #

  • Add note on how to enable this package in Spacemacs … Fixes Issue # 82 (1131882)

🍱 Other #

  • Change package website to https://ox-hugo.scripter.co (752beb5)
  • Update package URL to https://ox-hugo.scripter.co (572b038)
  • Make the Hugo .GitInfo data more useful … Now the tests backlink to the commits that created/modified those. (562b49b)
  • Show the last modified test first (98346ca)
  • Require text to be wrapped in braces to export as sub/superscript … Now ox-hugo by default requires text, to be sub/super-scripted, to … be wrapped in {}. … So now “a_​​b” will be exported as “a_​​b”,… (b35dfa0)

0.2.1 - <2017-09-28 Thu> #

6ab8977…a0a1bb9

✨ Features #

  • Add test where org-export-with-emphasize is set to nil … .. Using #+​​OPTIONS: *​​:nil (511a67c)

✅ Issue Fixes #

  • Don’t allow weight to be “auto” in front-matter for per-file exports … Fixes Issue # 83 … Add gitter badge. (c772891)
  • Support 1-column table exports … Now all tables in exported Markdown have the “|” characters before the … first column after after the last column too. … Fixes Issue # [[https://github.com/kaushalmodi… (5e1fac9)

📝 Documentation #

  • Bump to version 0.2.1; update Changelog and Docs (a0a1bb9)

🍱 Other #

  • Change look for timestamps in Changelog (0318cb7)

0.2 - <2017-09-27 Wed> #

4ed4661…6ab8977

✨ Features #

  • Add TOC to README … Thanks to toc-org package (134bad8)
  • Add link to Hugo published Demo site! (5ec15d4)
  • Add Meta Features section in README (9f062ae)
  • Add requirements.txt so that Netlify installs Pygments (8025ae5)
  • Add a screenshot (35a81c5)
  • Add reference to Why ox-hugo? and other doc sections in README (802e807)
  • Add documentation for auto-publishing one Org file per post (f42ece2)
  • Add a missing backslash in regexp (665c253)
  • Add a test to demonstrate deep-nesting of content … See Issue # 81 (f1466e2)

🚀 PR Merges #

  • PR # 80: … Add documentation for auto-publishing one Org file per post (306633a)

✅ Issue Fixes #

  • Add svg to org-hugo-external-file-extensions-allowed-for-copying … Fixes Issue # 73 (70a534b)
  • Fix incorrect use of preserve-breaks option … Fixes Issue # 72 … Added a new option called HUGO_​​PRESERVE_​​FILLING that does what I … actually w… (94d3052)
  • Support all Hugo figure shortcode parameters … - Reference: https://gohugo.io/content-management/shortcodes/#figure … - Add a new test for “Image with Hugo figure shortcode parameters set … using ATTR… (00e20cc)

⚡ Performance #

  • Improve org-hugo-debug-info (7febe63)

🐛 Bug Fixes #

  • Prevent error if input to org-hugo–quote-string is an empty string (ba9e836)
  • Fix the order of packages to be installed #travis fix … - *​​*​​First*​​*​​ install Org and then toc-org … Removed build on emacs master for now as it fails due to this cryptic … reason: … Installing … (d3229e8)
  • Fix travis build again … Interesting to see that (temporary-file-directory) does not auto-load files.el. (374c791)

📝 Documentation #

  • Document “make test” (ecd3ad5)
  • Example-site/ -> test/example-site/ (a96c375)
  • Documentation re-org (f008319)

♻️ Refactor #

  • Refactoring for example-site move +​​ Improve Makefile (af9cf7d)
  • Use TMPDIR; Remove Termux hard-coding … Clean up previous hackish Termux compatibility code. Using TMPDIR env … var instead works just fine. … We cannot use /tmp on Termux, but Termux sets the TMPDIR … (7cafea3)

🔨 Testing #

  • Run tests in Universal Time Zone … - Remove the TZ env var setting from .travis.yml; Move it to the … emacs-batch recipe in Makefile so that it works as expected for any … other user in any time zone … (fc530bc)

🍱 Other #

  • Tweak the TOC.. don’t link all Changelog items … The TOC and noexport_​​1 tags added to ox-hugo-manual.org are special to … the toc-org package. (48ae0ba)
  • Refine the external file link handling … Add org-hugo-external-file-extensions-allowed-for-copying, … org-hugo-default-static-subdirectory-for-externals. … Copy external files to Hugo static only if t… (4620759)
  • Minor Wiki tweak (7c9d699)
  • Clarify doc-string (9693b26)
  • Delete trailing whitespace by default in the generated Markdown … Add new variable org-hugo-delete-trailing-ws … Related to Issue # 72 (879e080)
  • Respect :preserve-breaks when deciding to delete trailing ws (2e31ff0)
  • Comment out the experimental kbd macro #org-master (85de994)
  • Update example outputs (46df446)
  • Make “make test” using the local ox-hugo version, duh (0faa273)
  • Super-optimize the Makefile.. make it more “Makefilish” (70c2257)
  • Update .PHONY in Makefile (b09e062)
  • “Example” Site -> “Test” Site (8a433e9)
  • Publish documentation using Hugo … Get rid of the Github Wiki (2951ae3)
  • Make “make doc” build GitHub docs too (414ad5e)
  • Remove emacs 25.x dependency from “make doc” (5552729)
  • Remove to need to call the ctemp Makefile recipe … .. by preventing creation of backup files when emacs is run in batch … mode. … Also make “make vcheck” show the correct Org mode version, based on … … (8a1f37b)
  • Specify to use Python Pygments instead of Go Chroma – hugo 0.28+​​ (4f4c1b8)
  • Use checkbox lists in Meta Features … Related: Issue # 78 (2b09c2f)
  • Minor tweak in ox-hugo-elpa dir for pkg install to work on Android … On Termux, now just clone this repo and “make doc”.. just works :) (a0146ee)
  • Another try to get “make doc” working out of box on Termux (b0cad45)
  • Another try #3 to get “make doc” working out of box on Termux (1163ce4)
  • Restructure the Auto-export on saving section (74630a5)
  • Switch the default value of org-hugo-use-code-for-kbd to nil … To match with default Org markup (88ba15a)
  • Bump version to 0.2; update Changelog (6ab8977)

0.1.3 - <2017-09-13 Wed> #

a486141…4ed4661

♻️ Refactor #

  • Org-hugo–plist-value-true-p -> org-hugo–plist-get-true-p … The order of the arguments in this function are also swapped to match … that of plist-get. … Now org-hugo–plist-get-true-p can be used to … (61b5cbe)

🍱 Other #

  • Use org-hugo–plist-get-true-p instead of plist-get for boolean keys (0f0c19f)
  • Update version to 0.1.3 (4ed4661)

0.1.2 - <2017-09-12 Tue> #

💥 Breaking #

  • If user prefers hyphens in tags, now use 3 “_​​” to convert to 1 “_​​” … This is a breaking change, as earlier 2 “_​​” in Org tags converted to 1 … “_​​” in Hugo tags/categories. (13d3d2b)
  • Make the “>” char removal conservative; only the first > is removed … Also use “&nbsp;” instead of “&#xa0;” (both are the exact same – … non-breaking space characters) in HTML for indentation spaces … (569a3f6)

✨ Features #

  • Add ox-blackfriday.el … Hugo uses the Blackfriday markdwon parser, whose syntax is similar, … but not identical, to Github Flaboured Markdown. Since this parser may … be used by other projects, it see… (b33dcc3)
  • Add helloyi’s ox-hugo … Copying a lightly-modified ox-hugo.el from @helloyi’s repo. … (https://github.com/helloyi/ox-hugo) (7e3ffa3)
  • Add note about assignment to FSF and do auto-filling (4cf6b59)
  • Add hugo directory vars and export to hugo section dir … After this change =​​org-hugo-export-to-md=​​ will always export to a … hugo directory. There’s no option to disable this yet, though there … p… (04aa36c)
  • Add directories to hold examples and tests (96ce0cf)
  • Add changes to README (d160c5f)
  • Add checks that required HUGO properties are defined … Also create pub-dir if it does not exist. … Add a minimal test case. (18d252e)
  • Add support for #+​​HUGO_​​ALIASES: (d4bcf1b)
  • Add support for all front matter variables … https://gohugo.io/content/front-matter/ (093bdea)
  • Add date parsing from property drawer … Also fix the case of “isCJKLanguage” front matter variable.. though, I … believe, hugo does not care about the case there. … Add a test file prop-drawer-parsing… (c52677b)
  • Add example for images (f2e57cc)
  • Add interactive function org-hugo-export-current-subtree … This function tries to be intelligent; it will export only the current … or one of the parent subtrees that first is seen to contain the … EX… (e856670)
  • Add inherited tags to the front matter too #awesome (d895958)
  • Add example Org and md for menu in TOML front matter (cb90858)
  • Add and update examples for the new Hugo menu setting schema (a2e5b67)
  • Add example on setting Hugo section in a parent subtree … Closes Issue # 31 … This feature was enabled by adding property inheritance support in …… (c567f0c)
  • Add image caption example (0f2229c)
  • Add preliminary support for Org example blocks (1e9c4c0)
  • Add single post examples; Show post ‘draft’ state in HTML (6efbe5b)
  • Add support for more predefined front matter variables … The Hugo docs were recently updated; the full list of predefined front … matter variables is here: … https://gohugo.io/content-management/front… (97ec1b1)
  • Add footnote support … Closes Issue # 41 (6f1a239)
  • Add org-hugo-footer (db261a5)
  • Add example of setting Hugo custom front matter over multiple lines (b5ef298)
  • Add a table to show how to implicitly represent Hugo front matter (ff88b6b)
  • Add example of links to headings in the same post (1ec3cb9)
  • Add example for consecutive quotes (68597d2)
  • Add tests for lists in code blocks and code blocks in lists … Issue # 57 (44cd890)
  • Add test case for checklists … While it works, one might desire to disable the Blackfriday fractions … feature for posts containing a checklist with fraction status. … Related: Issue # [[https://githu… (280c199)
  • Add org-hugo-debug-info, update README.org, add CONTRIBUTING.org (825cbb2)
  • Add support for “sluggiflying” non-English characters (6ed0af3)
  • Add a test for marking multiple lines in bold (any emphasis) (19cbbc8)
  • Add support for multi-line footnote definitions … With this commit, multi-line footnote definitions in Org source will … work as expected. But Blackfriday does not support those, so this … commit coll… (f791191)
  • Add screenshot (792a21f)
  • Add screenshot example .org and .md files (e9aa837)
  • Add screenshot showing the one-Org-file-per-post flow too (8eae652)
  • Add Changelog; bump version (2848d4b)

🚀 PR Merges #

  • PR # 8: … Matt refactor (c2b9e2e)
  • PR # 35: … correct erroneous “/static” in image paths (5dafb28)
  • PR # 47: … Escape any double quote already in value when wrapping it in quotes (ecb7119)
  • PR # 51: … Call org-back-to-heading with INVISIBLE-OK set to true (98c50ac)
  • PR # 62: … Remove the TODO section from the README (f9d825d)

✅ Issue Fixes #

  • Fix window scrolling upon export … Fixes Issue # 42 (260a417)
  • Disable smart quotes by default; Fixes Issue # 45 … User can still override this default by using: … #+​​OPTIONS: ‘:t … The default smart-quoting … (fe39046)
  • Support consecutive quote blocks … - Add org-blackfriday-quote-block translate function … - Re-organize functions in the ox-blackfriday.el package … Fixes Issue # [[https://github.com/kaushalmodi/ox-h… (c37cb9c)
  • Do not use the when-let, if-let macros #emacs26 … Fixes Issue # 56 (78cae49)
  • Don’t include code tags in Org headlines when creating slug … Fixes Issue # 58 (6d3376f)
  • Workaround for Pygments +​​ fenced code block with Org language … This workaround is applied only: … - If the org-hugo-pygments-code-fences option is set to a non-nil … value, and … - If HUGO_​​CODE_​… (5fd86f0)
  • Add ability to auto-set the lastmod field in front-matter … Fixes Issue # 66 (69a6001)
  • Support setting the date in front-matter using the CLOSED property … Fixes Issue # 68 (fc15f0c)

⚡ Performance #

  • Optimize the front matter generation (64d22f7)
  • Optimize org-map-entries … Use the property match syntax. See (org) Matching tags and properties. … Thanks @punchagan (b0ba08b)
  • Optimize org-hugo–get-post-subtree-coordinates based on PR # 49 … - If the current subtree has a parent heading, run org-map-entries only … within … (359e4ac)
  • Optimize comment insertion between consecutive lists, blockquotes … - Now the <!–listend–> and <!–quoteend–> comments are not inserted … unless needed. … - Fix the “example-site/content/posts/equa… (02b59d9)
  • Improve the printing of Org load-path shadows in org-hugo-debug-info (0dd01f2)
  • Improve code: Don’t use global cache vars for tags and categories … TIL about Org Special Properties [ (org) Special properties ] … The earlier caching of org-hugo–tags-list and … org-hugo–categorie… (9197ac6)
  • Improve date-time parsing … @punchagan (a486141)

🐛 Bug Fixes #

  • Fix the case where date is not specified at all … .. by wrapping (org-export-data (plist-get info :date) info) in org-string-nw-p … - Also fix the date specification in property drawer in small1.org …… (a1aed1c)
  • Fix the order for specifying the default value in :options-alist (7c1899c)
  • Fix date value in front matter; also no need to quote-wrap everythng … - Date needs to be of the format “2017-07-06T14:59:45-04:00”, not … “2017-07-06T14:59:45-0400” (Note the missing colon in time zo… (63dc10f)
  • Fix the image hyperlinks … *​​ ox-hugo.el (org-hugo-link): Update the type=​​=​​"file” case in the … final t case of the cond. Now the file​:// prefix is not added if … the raw-path begins with “/imag… (f02b480)
  • Fix the occurrence of triple hyphens in anchors (703a352)
  • Fix for a corner case for slug generation … - Case where parenethesized text has leading/trailing spaces adjoining … the parentheses characters. … Earlier ‘sluggifying’ “Foo ( Bar ) Baz” resulted in 3… (559746d)
  • Org-hugo-table is referenced but definition is not there … (At the moment the table export to Markdown is broken) (8379705)
  • Fix the location of save-restriction and save-excursion (641c6ab)
  • Fix export date format; add EXPORT_​​ prefix in example; add md … - Without the EXPORT_​​ prefix, those properties were as good as not … present; only the default values were exported. … - Hugo does n… (8aaa95b)
  • Use Menu ‘menu’ prop, not ’name’; support w-sp in menu props … - ’name’ is a separate ‘identifier’-like Menu property. So use “:menu” … to get the menu entry ’name’ (not to be confused with the menu ‘… (8068f34)
  • Reset the state variables at the end … Also update the casing of publishdate and expirydate to publishDate … and expiryDate to match with the documentation on … https://gohugo.io/content-management/fr… (feba205)
  • Fix the case where the same footnote is referenced multiple times (6f50a85)
  • Fix description parsing for front matter … Add example for setting description for front matter. (8db5048)
  • Do not escape underscores in title in front matter (f82f2c9)
  • Fix parsing of HUGO_​​CODE_​​FENCE option; Add tests (2e85362)
  • Fix HUGO_​​CODE_​​FENCE parsing, part 2 … Also move re-usable code to org-hugo–plist-value-true-p function (5fc47a0)
  • No need to put empty tags list in front matter … When no tags were present, the internal tags variable got parsed to … white space instead of nil. This is fixed now. (d9da3b2)
  • Fix example: ‘-’ is not a valid tag character, use ‘_​​’ instead (77ddd60)
  • Fix typo: “hugo weight” -> “hugo menu” (0fb646a)

📝 Documentation #

  • Documentation update; typo fix (ff3f48d)

♻️ Refactor #

  • Left over metadata -> front matter refactoring (33fed24)
  • HUGO_​​EXPORT_​​DIR -> HUGO_​​BASE_​​DIR … Found the earlier name confusing as the value actually represents the … base directory for the Hugo site development. The posts are actually … exported to a … (7e5248f)
  • Internal refactor: use is-commented instead of commentedp … Arguably “foop” or “foo-bar-p” should be used only to name predicate … functions, not variables. (1589a7c)
  • Allow inheritance of EXPORT_​​TAGS … - Also simplify org-hugo–selective-property-inheritance. … - Update an example to show that EXPORT_​​TAGS does get inherited (30f3400)
  • Minor code cleanup (58aa095)
  • Subtree export function now fits the standard Org export interface … - Rename org-hugo-publish-subtree to org-hugo-export-subtree-to-md to … fit the standard naming convention. … - Remove org-hugo-con… (99ec1b1)
  • Add org-hugo–parse-property-arguments; Code refactor … This commit does not bring any functional changes; just code … re-organization to generalize parsing of property values of type … “:KEY1 VAL1 KE… (b3cc12b)
  • Minor refactoring (b277e65)
  • *​​-prefer-hyphen-in-tags -> *​​-enable-special-tags … Minor re-org in all-posts.org (0b775c7)
  • Move location of check for :hugo-prefer-hyphen … This is to prepare ox-hugo for future changes in … org-hugo–transform-org-tags (aece8f3)
  • Reset the subtree export specific global vars during file exports … Also minor refactoring.. tag-list -> tags-list (899939c)

🔨 Testing #

  • Add function to walk headlines of current file … - add org-hugo-walk-headlines … - exports each 1st-level headline to a hugo entry. … - primitive with no error testing or finer controls … - should def… (4be635b)
  • Add test case for image link to external location … If an image is in some other location, org will copy it to … “HUGO_​​BASE_​​DIR/static/” and amend the link appropriately. This commit … adds a test… (c89cfe7)
  • Prefer using hyphens in Org tags derived Hugo tags/categories … - New property: HUGO_​​PREFER_​​HYPHEN_​​IN_​​TAGS … - Default value of this property derived from a new defcustom … org-hugo-prefer-hyp… (0299506)
  • Test case explaining the rationale behind previous commit (4b97457)

🍱 Other #

  • Initial commit (0e62743)
  • Let this be ox-hugo (2f09709)
  • More ideas (efcb9c1)
  • Move old functions to ox-hugo-helper.el … The legacy functions aren’t really an exporter, so it seems easier to … start fresh. (2bf519e)
  • Remove irrelevant table functions … This was cruft from a previous attmept to modify ox-hugo.el. Sorry! (ffd7b5c)
  • Use export filters instead of modifying inner-template export … Not sure why I like this better. Maybe this is stupid. (6b40def)
  • README updates from this branch (e777653)
  • Enable auto-filling in Org/Markdown to 70 columns; No tabs! (643cdc7)
  • Copy local images and rewrite links … - add :hugo-static-images option … - if image exists locally, copy to static image dir and update link (300609f)
  • Update test … - Change hugo export dir to a relative path … - Tests for property drawer parsing during subtree exports (does not … work at the moment) (869fa2e)
  • Rough draft of the package manual (e4ff35e)
  • Change the bindings in Export Dispatcher … For example, now to export only the current subtree to a file, you … would do `C-c C-e H H`. (c48fe42)
  • Prefix debug messages so that it’s easy to tell where they come from (3f48115)
  • Count Org #+​​KEYWORDS as Hugo tags too … All “keywords” and “tags” are added to the Hugo tag list in the post … front matter. (f315ffa)
  • Update org-hugo-front-matter-format defcustom :type (1de876f)
  • Set the default section directory via a new defcustom (5247f6d)
  • Allow concatenating multiple tags, categories and aliases (a4ebee6)
  • Remove HUGO_​​ prefix from DATE and DESCRIPTION keywords (3e58ef9)
  • Do not export the TOC by default … For the general use of Hugo to publish blog posts, we do not need to … publish TOC at the beginning of each post. … If a user wants, there are ways to insert the TOC… (d341f0a)
  • Minor house keeping edits (66fdc27)
  • Use the Hugo “figure” shortcode instead of standard md images … Using the “figure” shortcode allows us to support class attributes and … captions for exported images, which are not available in … blac… (f771160)
  • Merge remote-tracking branch ‘matt/image-as-shortcode’ … Add support for “#+​​ATTR_​​HTML: :class foo” above inserted figures in … Org. … For Issue # [[https://github.com/kaushalmodi/ox-hugo/issues/17… (5403a7f)
  • Update #+​​ATTR_​​HTML example that specifies class for figures (20b05fb)
  • Do not allow empty captions and “nil” classes for figures (a89058d)
  • Support Hugo style heading anchors and support level offset … - Translate Org CUSTOM_​​ID to Hugo style heading anchor {#anchor} … Issue # 22 … - … (e3eaf73)
  • Auto-generate anchors for headings in posts (5099970)
  • Untabify (4837d4a)
  • Comment out debug messages (ffe315a)
  • New interactive fn: org-hugo-publish-subtree … This function replaces 2 older interactive functions: … org-hugo-export-current-subtree and org-hugo-walk-headlines … M-x org-hugo-publish-subtree will “… (e026a74)
  • Make Org table exports work; Add examples (b6176f6)
  • Disable table export debug messages (844564f)
  • Update LICENSE (e974a39)
  • Export Org src blocks to code fenced Markdown by default … The option is set by the HUGO_​​CODE_​​FENCE property. … - If set to t (default), Markdown code fence is used. … - Else Hugo `highlight’ shor… (67ec798)
  • Correct erroneous “/static” in image paths … the final root-relative path of images exported to hugo has no “/static” at the … beginning. This patch fixes my initial error. (39290c6)
  • Preliminary support for menus for YAML front matter … This commit adds preliminary support for menu metadata in posts. It … sort of works with YAML frontmatter but not with TOML. … For Issue # [[https… (40c076a)
  • Support menu in YAML front matter, still broken (935cb8a)
  • Do not enable menu in front matter by default … If HUGO_​​MENU_​​NAME is nil, no menu front matter will be inserted. (aed7c48)
  • Generalize menu string generation; Ensure that menu is at end of fm … See menu-value-str … Also fix menu for TOML: [​[menu.foo]] -> [menu.foo] (e4640d2)
  • Support all Hugo menu properties; Change menu prop schema … Now menu front matter data is specified as follows: … *​​ Menu Alist Meta Data … :PROPERTIES: … :EXPORT_​​FILE_​​NAME: menu-alist-meta-data … (254b12a)
  • Allow certain Hugo backend properties to be inherited (1a0d26c)
  • Remove old ‘fixme’s in examples; minor content update (bc3aef6)
  • Default Hugo level offset to 1; update example posts with dates … - Remove support for “loffset” in OPTIONS (Closes Issue # 24) … - Also re-publis… (39a7448)
  • Set the menu weight and identifier automatically … - Add org-hugo–quote-string, org-hugo–get-valid-subtree, … org-hugo–get-post-subtree-coordinates … - Add examples to demonstrate how auto menu wei… (711c26b)
  • Wrap org-back-to-heading in ignore-errors … The rest of the change in this commit is indentation change and a very … old .md file that should have been deleted once the noexport feature … was implemen… (e5ce3dc)
  • Support summary splitter … In Org: … #+​​HUGO: more … converts to this in Markdown: … <!–more–> … https://gohugo.io/content-management/summaries#user-defined-manual-summary-splitting (8a0182f)
  • Change location of ignore-errors around org-back-to-heading … - Add a new function for use in after-save-hook: … org-hugo-export-subtree-to-md-after-save. This wrapper function now … does the error ig… (4e8ad4a)
  • Don’t escape underscores in Emoji codes like :raised_​​hands: … Closes Issue # 43 (b130e2b)
  • Preserve line breaks when exporting from Org to Hugo md … That way if auto-filling is enabling in the Org document, the … generated Markdown will have a similar text filling. (1f62a39)
  • Use _​​italics_​​ instead of *​​italics*​​ … This was necessary in order to fix Issue # 44 (57ca5ba)
  • Disable special string insertion by Org; Title sanitization … - Blackfriday automatically renders “–” as en-dash, “—” as em-dash and … so on. So there is no need for Org to replace those with the H… (669056d)
  • Delete an old stray file (e9d82a9)
  • Make date parsing more DWIM style … Examples of EXPORT_​​DATE property values now supported: … - Hugo date format: “2017-07-12T19:26:00-04:00” … - Hugo date format (short): “2017-07-12” … - Org long t… (c659a6e)
  • Update README; Remove ox-hugo-helper.el (c5588d5)
  • Escape any double quote already in value when wrapping it in quotes (c7bcd23)
  • Support adding custom front matter key/value pairs … Add a new property HUGO_​​CUSTOM_​​FRONT_​​MATTER. Example is added to all-posts.org. (8c97677)
  • Use org-map-entries for index computation of a post … The index computation of a post can be really slow in a big blog for a … subtree at the bottom of the tree. This commit implements the index … com… (ede8f47)
  • Parse Org tags starting with “@” as Hugo categories … - Add examples too. … Closes Issue # 50 (e7695ca)
  • Update list of properties that should be inherited (ab05a0d)
  • Attempt to fix Github rendering of Org table … Inserted ZERO-WIDTH-SPACE char after the ending double-quote in: … =​​title =​​ “foo"​=​​ (5cf6b03)
  • Call org-back-to-heading with INVISIBLE-OK set to true … The `point` can end up on the wrong headline, causing the export to … fail, when org-back-to-heading isn’t called without `INVISIBLE-OK`. (2606f79)
  • Move code into org-hugo–sanitize-title (f419f85)
  • Use Org code markup ~​​foo~​​ to generate <kbd> wrapped text … Now, … - =​​foo=​​ -> <code>foo</code> in HTML (same as before) … - ~​​foo~​​ -> <kbd>foo</kbd> in HTML (new functionality) … You can sti… (c0b44fd)
  • Update README with details on Org to Markdown markup translation (5b966ad)
  • Support exporting latex equation fragments … - ox-blackfriday.el updated to do the escaping using backslashes as … suggested in https://gohugo.io/content-management/formats#solution … > One solution i… (8da68a6)
  • Support the “\[..\]” and “\[..\]” Org LaTeX fragment syntax too (62efc8e)
  • Support consecutive plain lists … Add tests for consecutive lists and nested lists. (e7d0fc7)
  • Move org-hugo-italic to org-blackfriday-italic (67d4748)
  • Support verses … Line breaks, indentation and blank lines stay preserved in Org verse … blocks. (05aecf7)
  • Support the forcing of ordered list numbers … http://orgmode.org/manual/Plain-lists.html … *​​*​​Ordered*​​*​​ list items start with a numeral followed by either a … period or a right parenthesis, suc… (e4aa8d4)
  • Support specifying Blackfriday options and extensions … New keyword: HUGO_​​BLACKFRIDAY … Closes Issue # 37 (05a7d9b)
  • Allow posts to not have dates … Closes Issue # 59 (d53b557)
  • Little hack to get around russross/blackfriday #239 … 1) If a code block is in a list, and … 2) If a line in that code block begins with the reg… (53ed14a)
  • Re-implementation of the hack in previous commit … This also handles “*​​” chars at BOL. … The new hack is to simply prefix “-”, “+​​” and “*​​” with ZERO WIDTH … SPACE (0x200b) if those characters ap… (ed9b62d)
  • Update one of the left out single file tests (6ea8881)
  • Implement generic solution for Issue # 60 … The earlier org-hugo-pygments-code-fences boolean var is now replaced … with symbol list defcustom org… (6f40cf9)
  • Remove the TODO section from the README (e336d18)
  • Comment edit (f9f5c1c)
  • Generate README, CONTRIBUTE, Wiki pages from ox-hugo-manual.org … See ox-hugo-export-gh-doc function in doc/export-gh-doc.el (60daaee)
  • Update references for Blackfriday options and extensions (841255a)
  • Preserve leading whitespace in Org Babel Result block exports (f0becd6)
  • Export Org TODO keywords in headings … This of course can be disabled by putting … #+​​OPTIONS: todo:nil … in the Org file. (cfedc2e)
  • Pass checkdoc again (3e39876)
  • Minor re-org in all-posts.org (de69c7b)
  • Support spaces in Hugo tags and categories … - New defcustom org-hugo-allow-spaces-in-tags (default: t) … - Now the internal strings for tags, categories, keywords are … concatenated with newline-sepa… (9d32c85)
  • Wrap the debug info containing file paths in Org Example blocks … That way the forward slashes in the paths don’t get interpreted as Org … italics. (57c4b7d)
  • Do not show Blackfriday exporter in the Org Exporter Dispatch menu (b807ac1)
  • Move footnotes exporting code to ox-blackfriday.el (f9251ad)
  • Allow Verse blocks to create indented text (useful for emphasis) … Trick is to prefix an indented line in the verse block with “>”: … #+​​BEGIN_​​VERSE … > Indented text … #+​​END_​​VERSE … Note that … (aaf6919)
  • Make auto weight-calculation work when HUGO_​​MENU is used as keyword … Earlier the auto weight-calculation worked only if the … EXPORT_​​HUGO_​​MENU property was specified in a subtree. Now it also …… (28187b3)
  • Move the auto-weight calculation to a new fn org-hugo–calc-weight (b2e5c71)
  • Auto-calculate post weights if HUGO_​​WEIGHT is set to auto … Add tests for … - Manual setting of post weight … - Auto calculation of post weights by setting EXPORT_​​HUGO_​​WEIGHT … subtree property … (828165b)
  • Make org-hugo-slug ‘public’ so that it can be auto-loaded (f74efbd)
  • Remove FSF copyright until this package makes into GNU Elpa or Org (b570542)
  • Minor tweaks to the package commentary (c23ea5e)
  • Lint fixes (0343000)
  • Update documentation (6d42508)
  • Update documentation # part 2 (8b7ad62)
  • Use org-entry-get to get the TODO state of current subtree … .. instead of first saving the current TODO state to a global var … org-hugo–draft-state. (bb200a3)
  • Clarify differences in Org between file and subtree export flows … Also fix the writing-hugo-blog-in-org-file-export.org.. we cannot have … auto-weight calculation in file export flow (compared to sub… (d04e96c)
  • Update org-hugo-debug-info (5299484)
  • Update manual and Wiki (5aa24ab)
  • README tweaks (bf38a10)
  • Minor typo and consistency fixes in docs; Add GPLv3 badge (4540167)
  • Update post title to fix duplicate menu identifier error (3e61b0b)
Fork me on GitHub