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

How to strip all markdown to get pure text ? #18

Closed
albert-kam opened this issue Nov 16, 2013 · 2 comments
Closed

How to strip all markdown to get pure text ? #18

albert-kam opened this issue Nov 16, 2013 · 2 comments

Comments

@albert-kam
Copy link

Hello !

Is there a way where i can strip all the markdowns to get just pure text (not html) ?
I'd like this feature to do a simple substringed-preview, the one with the "read more" link.

Thank you,
Albert

@rjeschke
Copy link
Owner

It may be possible by using your own Decorator and just emit nothing, but I haven't tried this.

Currently different output formats are not supported, so if it not works using a custom decorator, one could still use the Java built-in SAX XML parser to strip all tags.

@albert-kam
Copy link
Author

I'm going to try what you suggested. Thank you for your great product !

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