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

RST writer: refactor separating inline transformation logic from writ… #4438

Merged
merged 2 commits into from
Mar 18, 2018

Conversation

danse
Copy link
Contributor

@danse danse commented Mar 9, 2018

this pull request is just about refactoring, and an enabler for solutions to #4434 and #4368.

without introducing these changes it's impossible to perform bottum-up transformations on inlines before rendering because single inlines are visited and rendered in the same functions.

after these changes the rendering step is explicit and separated from the visiting logic so that transformation functions can be applied depth-first. as a showcase of the functionality this enables i wrote a solution to #4434 on top of this commit

@danse danse mentioned this pull request Mar 9, 2018
@jgm jgm merged commit 90a705c into jgm:master Mar 18, 2018
@danse danse deleted the rst-writer-walk-refactoring branch March 19, 2018 09:02
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.

2 participants