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

Ordered Lists able to start at numbers other than 1 #26

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

Ordered Lists able to start at numbers other than 1 #26

wants to merge 6 commits into from

Conversation

apadmos
Copy link

@apadmos apadmos commented Mar 2, 2015

Added a property to the Block class so that this:
4. List text
5. List text
now emits as:

  1. List text
  2. List text

instead of:

  1. List text
  2. List text

allowing ordered numerical lists in documents that start at values != 1 to display closer to the how the writer probably intended.

@rjeschke
Copy link
Owner

And again: sorry, so sorry.

The idea is great, but modifying the decorator interface will render any code that used the old one incompatible. That's the downside for having real interfaces: you can not add an implementation.

Right now I can not think about a way to support this feature without breaking code backwards compatibility. If you find a way, let me know, otherwise I will close this pull request soon.

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.

2 participants