-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pandoc should use: --from markdown-yaml_metadata_block #78
Comments
A guess at the line that would receive the option: project.py:893: |
After looking at the resulting PDF this I found best results with a sequence like:
The difference is there is a |
See #84 as my suggested solution. I've marked it as draft so that we can discuss it here before merging. The changes are:
The current PR only affects the project-level documentation, but if it works for your test cases I'll make another one for the full shuttle datasheet. |
Before I forget the initial issue for me was the use of This is allowed in The solution was to just use I think my extra steps were just trying to maintain using the native pandoc markdown by default for PDF generation as I assumed there maybe formatting differences and features in use (and didn't want/couldn't retest every scenario for every datasheet to know if it broke something). So if switching to The #84 solution looks fine to me. -- It would be really nice if there was a diagnostic/linting mode to try to inform a failed |
This is in related to the https://discord.com/channels/1009193568256135208/1302455447269281823 thread on well formed markdown format docs not completing the
docs
GHA task.The use of
\_
appears to be related to the TeX format requirement not a MD format requirement. Pandoc should have converted/escaped the MD document for TeX format if that is what it needs to process it. An internal bug there somewhere.MD allows use of horizontal rules https://www.markdownguide.org/basic-syntax/#horizontal-rules in the form
---
and this appears to be triggering the YAML parser used to parse the top block.Top of document looks like:
I tried replacing the 2nd
---
with...
to indicate eod-of-document to YML but it did not make a difference.Using the option
--from markdown-yaml_metadata_block
does allow it to be processed without error.I guess this defeats a format auto-detection mechanism which maybe causing the issue the problem.
pandoc
is not exactly sure the following data (after YAMl headers) is MD format.The text was updated successfully, but these errors were encountered: