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

Round Trip? #10

Open
tbrooke opened this issue Jun 24, 2021 · 4 comments
Open

Round Trip? #10

tbrooke opened this issue Jun 24, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@tbrooke
Copy link

tbrooke commented Jun 24, 2021

Can I do a round trip from my AST representation back to the original Markdown instead of HTML?

@kiranshila kiranshila added the enhancement New feature or request label Jun 25, 2021
@kiranshila
Copy link
Owner

I suppose it is possible - but not currently implemented. Is your use case to programmatically modify a markdown document via its AST?

@tbrooke
Copy link
Author

tbrooke commented Jul 9, 2021

Sorry for not following up - was thinking of modifying via AST but just doing modifications as markdown -- So you are right really don't need it

@tbrooke
Copy link
Author

tbrooke commented Jul 13, 2021

I'm back after deciding I do need ir->md to change AST for a new different markdown doc -- I forked it and may try, will do a pull request if succeed - I studied your code some, it seems doable and maybe not that difficult - any thoughts or suggestions are welcome --

@kiranshila
Copy link
Owner

I agree this is useful. I would work on this, but am in the process of moving. It shouldn't be too bad, we can copy the lowering to hiccup part to just emit strings.

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

No branches or pull requests

2 participants