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 strike-through extension from peg-markdown #22

Open
rickharrison opened this issue Mar 22, 2014 · 1 comment
Open

Add strike-through extension from peg-markdown #22

rickharrison opened this issue Mar 22, 2014 · 1 comment

Comments

@rickharrison
Copy link

https://github.com/jgm/peg-markdown now has a strike-through extension. Would it be possible to merge this in to your fork? Any tips on where to start and I can try and tackle this myself.

@dreamwieber
Copy link
Owner

I would start with a diff of the peg files that are still in this project with the changes in the source repo and then merging those in -- probably by hand, since this repo has diverged a good deal.

You'll have to look at the large switch statement that appends the attributes to the source string, add a case for strike-through, and apply the appropriate nsattributedstring attribute.

Hope this helps!

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