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

Enhancement request : Support for Typora #14

Closed
flangel opened this issue Oct 21, 2016 · 2 comments
Closed

Enhancement request : Support for Typora #14

flangel opened this issue Oct 21, 2016 · 2 comments

Comments

@flangel
Copy link

flangel commented Oct 21, 2016

I it would be great to support Typora, so that HTML generated from Typora can use strapdown to generate nice dynamic TOCs. See

typora/typora-issues#348

Perhaps you guys find some time to see what I am missing, as I cannot fix it.
Thanks a lot in advance
Frank

@ndossougbe
Copy link
Owner

ndossougbe commented Oct 24, 2016

Strapdown works from an HTML file where you would write Markdown in the <xmp> tag, and transform that Markdown. In the HTML file you sent, Typora already transformed the Markdown inside of the <xmp> tag to HTML. At that point there is no Markdown left in the source file and Strapdown is not meant to work directly from HTML. I'm afraid that's not a supported use case.

I remember looking into tocify before doing my own thing for Strapdown. I think you are looking for something like that, that would work from the HTML itself, for you dynamic ToC. Or try to get Typora to support that from their converter!

@flangel
Copy link
Author

flangel commented Oct 27, 2016

Thanks a lot for your update.

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

2 participants