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

Allow parsing needs options as multiline rst in custom layout #1397

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

fournier-p
Copy link

@fournier-p fournier-p commented Feb 4, 2025

Hello,

When using the meta() function in the custom layouts, it's not possible to parse the needs options as rst, only the links are handled in a custom way and the rest is parsed only with inline rst syntax.

I have the need to be able to put multiline rst for some custom options and thought a dedicated meta_rst() function would be the best way to handle those.

I made this in an hour to see the feasibility of such a function so don't hesitate to tell me if there is anything that needs to be changed or improved. I also didn't touch the tests, I would need a bit a guidance to add/update tests for this feature.

Status:

  • Implementation
  • Documentation
  • Tests

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

Successfully merging this pull request may close these issues.

1 participant