[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug with exporting list with link item containing "::" to markdown
From: |
Max Nikulin |
Subject: |
Re: Bug with exporting list with link item containing "::" to markdown |
Date: |
Wed, 23 Feb 2022 23:59:07 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 13/02/2022 03:12, Cash Weaver wrote:
As a quick summary: The following list item is improperly exported to
org mode (org-md-export-as-markdown). The first snippet is in org-mode
and the second is the exported markdown:
- [[id:c89158fd-05ac-4c66-8986-05753e15096c][ryans01 :: No Zero Days]]
- [[id:92cf48f0-63a6-4d1d-9275-c80f6743ccb9][Do Things that Compound]]
- **[[<ryans01NoZeroDays2013.md>][ryans01:** No Zero Days]]
- [Do Things that Compound](do_things_that_compound.md)
I am marking this issue as a bug for https://updates.orgmode.org/ but it
may be just non-intuitive behavior of org-element parser. "::" inside an
item forces the list to be considered as descriptive one. Element which
parsing started earlier has higher priority. See the following recent
thread for similar issues:
Juan Manuel Macías. Pandoc and nested emhases.
Fri, 18 Feb 2022 00:47:18 +0000.
87sfshgfvt.fsf@posteo.net/T/#u">https://list.orgmode.org/orgmode/87sfshgfvt.fsf@posteo.net/T/#u
You may add zero-width space between colons, see
info "(org) Escape Character"
https://orgmode.org/manual/Escape-Character.html but it may require
post-processing filter to remove zero-width spaces.
Another approach is to insert an export snippet:
- [[id:cbce567a-861c-4d9b-8b2f-5933afadb864][ryans01 :@@org:@@: No Zero
Days]]