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

Multiple underscores in words #59

Closed
nichtich opened this issue Jul 5, 2012 · 2 comments
Closed

Multiple underscores in words #59

nichtich opened this issue Jul 5, 2012 · 2 comments

Comments

@nichtich
Copy link

nichtich commented Jul 5, 2012

The handling of multiple underscores in words is not consistent. github_flavored_markdown handles this differently than the original MarkDown syntax, so does marked. Try this:

perform_complicated_task
do_this_and_do_that_and_another_thing

This bug affects prose/prose#146 see there for how to reproduce it.

@chjj
Copy link
Member

chjj commented Jan 8, 2013

What should I see as the output?

This is what I see currently:

$ marked --gfm
perform_complicated_task
do_this_and_do_that_and_another_thing
^D
<p>perform_complicated_task
do_this_and_do_that_and_another_thing
</p>

Looks correct as far as I can tell. Closing for now.

@chjj chjj closed this as completed Jan 8, 2013
@tkrotoff
Copy link

It works fine for single underscore, not for double underscores __, example:
perform__complicated__task

$ marked --gfm
perform__complicated__task
^D
<p>perform<strong>complicated</strong>task</p>

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

3 participants