From: "'russurquhart1' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Pandoc removes substitution references rst files when converting to asciidoc
Date: Mon, 27 Dec 2021 09:40:52 -0800 (PST) [thread overview]
Message-ID: <6cc83169-d98f-41d1-92d4-1e7f53840c1en@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1946 bytes --]
Hi,
I have .rst files with the following markup:
* ``-build-5e67c9299c330f0008f70ad1`` is a |user-docs-base|\ |release|\
|user-docs-environment|. It will finish on its own and go into a
``Completed`` state.
.. |user-docs-base| raw:: html
<a href="https://docs.datalab.com/en/
.. |user-docs-batch-job| raw:: html
/reference/runs/Jobs.html">Batch Job</a>
.. |user-docs-workspace| raw:: html
/reference/workspaces/index.html">Workspace</a>
.. |user-docs-app| raw:: html
/reference/publish/apps/index.html">App</a>
.. |user-docs-model| raw:: html
/reference/publish/models/index.html">Model API</a>
.. |user-docs-environment| raw:: html
/reference/environments/index.html">Compute Environment build</a>
I did :
pandoc -f rst -t asciidoc -o test.adoc test.rst
For this part of the text it converted to:
* `build-5e67c9299c330f0008f70ad1` is a . It will finish on its
own and go into a `Completed` state.
____
<a href="https://docs.datalab.com/en/
____
____
/reference/runs/Jobs.html">Batch Job</a>
____
____
/reference/workspaces/index.html">Workspace</a>
____
____
/reference/publish/apps/index.html">App</a>
____
____
/reference/publish/models/index.html">Model API</a>
____
____
/reference/environments/index.html">Compute Environment build</a>
____
It removed the references to the variable names and those variable names
where they were assigned.
My question is if there is a way to have Pandoc NOT remove the variable
names, leaving them in place for another filter to address?
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6cc83169-d98f-41d1-92d4-1e7f53840c1en%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3019 bytes --]
reply other threads:[~2021-12-27 17:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cc83169-d98f-41d1-92d4-1e7f53840c1en@googlegroups.com \
--to=pandoc-discuss-/jypxa39uh5tlh3mbocffw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).