Replies: 3 comments 1 reply
-
Can you say a bit about the JSON structure / schema of the the input?
Pandoc expects JSON input to be a representation of it's internal
document format, i.e., the format that pandoc produces when using JSON
as an output format. It cannot guess the meaning of random JSON input.
You could try to process the input with a custom reader, see
https://pandoc.org/custom-readers
|
Beta Was this translation helpful? Give feedback.
-
I see. These json files for documentation are not random input. I will post the json file structure if that would help when I can. Does Pandoc have a nested json parsing feature? We are building something similar in the Mojo community unless we get beat to it. |
Beta Was this translation helpful? Give feedback.
-
I’ll look into Lua scripting. Is Lua fast for this sort of framework? |
Beta Was this translation helpful? Give feedback.
-
Explain the problem.
Include the exact command line you used and all inputs necessary to reproduce the issue. Please create as minimal an example as possible, to help the maintainers isolate the problem. Explain the output you received and how it differs from what you expected.
Hey Pandoc community, stopping by from the Mojo community. I am having trouble converting json documentation to markdown via Pandoc. Here is a snippet from command line in Bash:
Pandoc version?
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue. Note that many linux distributions have old versions of pandoc in their repositories.)
The Pandoc version I have installed is version 3.6.2 on Windows 10 WSL2. Here is my PyMo project if you would like to poke around for funsies and test Pandoc interop link
Beta Was this translation helpful? Give feedback.
All reactions