Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Make RestRenderer.hmarks not hardcoded #57

Open
telamonian opened this issue Apr 22, 2020 · 0 comments
Open

Make RestRenderer.hmarks not hardcoded #57

telamonian opened this issue Apr 22, 2020 · 0 comments

Comments

@telamonian
Copy link

I'm trying to refactor the Jupyterlab docs to use mdinclude as part of jupyterlab/jupyterlab#8246. Our current rst header mark scheme does not match the hardcoded one in m2r, and it's proving to be a pain point. Rather than having to write crazy looking regexes (eg (?<=^~*)~(?!\s\S+)) to replace my header marks, it would be much nicer if I could just configure m2r.

I'm happy to submit a PR for this. Before I jump in and work on it though, I'd like to clarify: is there a reason why the header marks in RestRenderer.hmarks are hardcoded? Or can they just be set freely?

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

No branches or pull requests

1 participant