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

Add: Underline and strikethrough #38

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hanstestmeier
Copy link

added underline and strikethrough function to the markdown like the official markdown from John Gruber: http://daringfireball.net/projects/markdown/

@@ -570,7 +570,36 @@ private int recursiveEmitLine(final StringBuilder out, final String in, final in
out.append(in.charAt(pos));
}
break;
case EM_STAR:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the EM_START case?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry that change can be reverted

@rjeschke
Copy link
Owner

Another issue: could you please tell me, where you found that underline and strike-through are contained as elements in the standard Markdown? I wrote txtmark against the specs from Daring Fireball, and there was (and still is no) underline or strike-through.

@ened
Copy link

ened commented Nov 6, 2015

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

Successfully merging this pull request may close these issues.

3 participants