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

Not working with current mdast? #1

Closed
bebraw opened this issue May 20, 2015 · 3 comments
Closed

Not working with current mdast? #1

bebraw opened this issue May 20, 2015 · 3 comments
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done 🐛 type/bug This is a problem

Comments

@bebraw
Copy link

bebraw commented May 20, 2015

Just followed the demo at README:

var strip = require('strip-markdown');
var mdast = require('mdast').use(strip);

var ast = mdast.parse('Some *emphasis*, **strongness**, and `code`.');
var doc = mdast.stringify(ast);

console.log(doc);

That yields Some _emphasis_, **strongness**, andcode.. Any idea why?

@wooorm
Copy link
Member

wooorm commented May 20, 2015

Oh weird. Hold on...

@wooorm wooorm closed this as completed in f7b70f1 May 20, 2015
@wooorm
Copy link
Member

wooorm commented May 20, 2015

The example is now fixed, thanks!

@bebraw
Copy link
Author

bebraw commented May 20, 2015

Cool, thanks.

@wooorm wooorm added ⛵️ status/released 🐛 type/bug This is a problem 📚 area/docs This affects documentation labels Aug 15, 2019
@wooorm wooorm added the 💪 phase/solved Post is done label Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done 🐛 type/bug This is a problem
Development

No branches or pull requests

2 participants