Skip to content
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

Myst parser warning: Invalid options format (bad YAML) [myst.directive_parse] #64

Closed
scottyhq opened this issue Jun 11, 2024 · 2 comments

Comments

@scottyhq
Copy link
Contributor

tutorial-design.md:163: WARNING: 'image': Invalid options format (bad YAML) [myst.directive_parse]

Looks like this is due to having a colon as part of the directive key value (after "complex") below

:alt: A chart of active learning strategies on a spectrum from "Simple" to "Complex". Starting from the simplest to the most complex: Pause for reflection, Writing (Minute Paper), Self-assessment, Large Group Discussion, Think-Pair-Share, Informal Groups, Triad Groups, Group Evaluatoins, Peer Review, Brainstorming, Case Studies, Hands-on Technology, Interactive Lecture, Active Review Sessions (Games or Simulations), Role playing, Jigsaw Discussion, Inquiry Learning, Experiential Learning (site visits), Forum Theater

@scottyhq
Copy link
Contributor Author

scottyhq commented Jun 11, 2024

It's a bit hard to track down docs on nested quotations and escaping characters, but the docs here made me think to use > for multiline values https://myst-parser.readthedocs.io/en/latest/apidocs/myst_parser/myst_parser.parsers.options.html#module-myst_parser.parsers.options

Relevant documentation here
https://myst-parser.readthedocs.io/en/latest/syntax/roles-and-directives.html#parameterizing-directives-options

@scottyhq
Copy link
Contributor Author

closed by #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant