rootstock icon indicating copy to clipboard operation
rootstock copied to clipboard

Output manuscript-rendered.md with pandoc markdown

Open dhimmel opened this issue 5 years ago • 6 comments

Helps with https://github.com/manubot/rootstock/issues/381.

Runs common filters and produces markdown output that should be portable to other Pandoc systems like Rmarkdown.

dhimmel avatar Oct 30 '20 23:10 dhimmel

AppVeyor build 1.0.171 for commit b9c9b0c6f1e54c47b71b4fdad071d22f74909170 is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing content/02.delete-me.md:44:aliqua content/02.delete-me.md:44:amet content/02.delete-me.md:44:consectetur content/02.delete-me.md:44:dolore content/02.delete-me.md:44:eiusmod content/02.delete-me.md:44:elit content/02.delete-me.md:44:incididunt content/02.delete-me.md:44:ipsum content/02.delete-me.md:44:labore content/02.delete-me.md:44:Lorem content/02.delete-me.md:44:magna content/02...
The rendered manuscript from this build is temporarily available for download at:

AppVeyorBot avatar Oct 30 '20 23:10 AppVeyorBot

Will the Markdown output be generated all the time or conditionally based on an environment variable?

agitter avatar Nov 01 '20 14:11 agitter

AppVeyor build 1.0.180 for commit 0592860c265a04f56f8ca5e30ed9037c58bde926 is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing content/02.delete-me.md:44:aliqua content/02.delete-me.md:44:amet content/02.delete-me.md:44:consectetur content/02.delete-me.md:44:dolore content/02.delete-me.md:44:eiusmod content/02.delete-me.md:44:elit content/02.delete-me.md:44:incididunt content/02.delete-me.md:44:ipsum content/02.delete-me.md:44:labore content/02.delete-me.md:44:Lorem content/02.delete-me.md:44:magna content/02...
The rendered manuscript from this build is temporarily available for download at:

AppVeyorBot avatar Nov 01 '20 14:11 AppVeyorBot

Will the Markdown output be generated all the time or conditionally based on an environment variable?

I am not sure whether we should add this to rootstock at all. Currently, brainstorming all the types of markdown output users might wan. I think the two most common would be

  1. --to=markdown (pandoc markdown after running filters, citations and references not rendered unless --to=markdown-citations.
  2. --to=commonmark should render citations and bibliography.

@agitter do you think those two markdown flavors would cover most use cases?

dhimmel avatar Nov 01 '20 14:11 dhimmel

I think those two would cover it. I don't recall anyone specifically needing the --to=commonmark version yet, but it does fill a gap.

If this is a niche and advanced use case, keeping the unmerged pull request could be a good solution so we can point to it when the question does arise.

agitter avatar Nov 01 '20 15:11 agitter

AppVeyor build 1.0.182 for commit 6645e8b722c16e9c1d78f4f35ee609114eba9228 is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing content/02.delete-me.md:44:aliqua content/02.delete-me.md:44:amet content/02.delete-me.md:44:consectetur content/02.delete-me.md:44:dolore content/02.delete-me.md:44:eiusmod content/02.delete-me.md:44:elit content/02.delete-me.md:44:incididunt content/02.delete-me.md:44:ipsum content/02.delete-me.md:44:labore content/02.delete-me.md:44:Lorem content/02.delete-me.md:44:magna content/02...
The rendered manuscript from this build is temporarily available for download at:

AppVeyorBot avatar Nov 01 '20 15:11 AppVeyorBot