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

Extending to handle ordered lists #14

Open
jonfrank opened this issue Aug 11, 2013 · 1 comment
Open

Extending to handle ordered lists #14

jonfrank opened this issue Aug 11, 2013 · 1 comment

Comments

@jonfrank
Copy link

All installed in my project perfectly and doing its job. Except that I can't see how to extend it to handle more markdown than that included in the test suite - for example, ordered lists. From what I can see in markdown_parser.leg , markdown_output.m etc etc it should be capable, but even having defined a paragraph style in the Dictionary @forkey:@(ORDEREDLIST) it still comes out as a bulleted list rather than a numbered one.

What am I missing? Does the code need extending or am I missing something in configuration??

@dreamwieber
Copy link
Owner

From memory, I believe we used Unicode values in there to get the bullets. You may have to find the switch statement that deals with recognizing list items and have it insert a number instead. The tricky part might be keeping track of what number it's on -- I can't recall if it's already doing that or not...

Sent from my iPhone

On Aug 11, 2013, at 9:20 AM, jonfrank [email protected] wrote:

All installed in my project perfectly and doing its job. Except that I can't see how to extend it to handle more markdown than that included in the test suite - for example, ordered lists. From what I can see in markdown_parser.leg , markdown_output.m etc etc it should be capable, but even having defined a paragraph style in the Dictionary @forkey:@(ORDEREDLIST) it still comes out as a bulleted list rather than a numbered one.

What am I missing? Does the code need extending or am I missing something in configuration??


Reply to this email directly or view it on GitHub.

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