Issue # 556
Description/Summary
Test theorg-hugo-get-custom-id org-hugo-get-id org-hugo-get-heading-slug org-hugo-get-md5 precedence set in ~org-hugo-anchor-functions.
Content
ox-hugo Issue #556
Heading 1 #
This heading’s anchor will be derived off the heading string.
Heading 1.1 #
This heading’s anchor will be derived off the ID.
Heading 2 #
This heading’s anchor will be derived off the CUSTOM_ID.
Heading 3 #
This heading’s anchor will be derived off the CUSTOM_ID as that
takes precedence over the ID.
Heading 3.1 #
This heading’s anchor will be derived off the ID.
Heading 4 #
This heading’s anchor will be derived off the ID.
% #
This heading’s anchor will be derived from md5 of the title as it is not alphanumeric.
Org Target #
paragraph one
paragraph two
paragraph three
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Issue # 556" | |
| Title | "Issue # 556" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "issues" | |
| Draft | false | |
| Type | "issues" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/issues/issue-556/" | |
| RelPermalink | "/issues/issue-556/" | |
| Data |
| |
| NextPage | Issue # 542 | |
| PrevPage | Issue 335 | |
| NextInSection | Issue # 542 | |
| PrevInSection | Issue 335 |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| description | string | " Test the `org-hugo-get-custom-id` `org-hugo-get-id\n org-hugo-get-heading-slug` `org-hugo-get-md5` `precedence set in\n ~org-hugo-anchor-functions`.\n " |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-02-18 16:14:33 -0500 -0500 |
| tags | []string | "org-id" "anchor" "heading" |
| title | string | "Issue # 556" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "863825880284e6dac5d0f1a207b069f7" |
| BaseFileName | "issue-556" |
| TranslationBaseName | "issue-556" |
| Lang | "en" |
| Section | "issues" |
| LogicalName | "issue-556.md" |
| Dir | "issues/" |
| Ext | "md" |
| Path | "issues/issue-556.md" |