* Pandoc removes substitution references rst files when converting to asciidoc
@ 2021-12-27 17:40 'russurquhart1' via pandoc-discuss
0 siblings, 0 replies; only message in thread
From: 'russurquhart1' via pandoc-discuss @ 2021-12-27 17:40 UTC (permalink / raw)
To: pandoc-discuss
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-27 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27 17:40 Pandoc removes substitution references rst files when converting to asciidoc 'russurquhart1' via pandoc-discuss
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).