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

Support custom list options for label and indent #1184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 26, 2020

  1. Support custom list options for label and indent

    This PR enables:
    
    A user to set custom labels (and effectively make custom list types), by accepting a `customLabel` option being a function which receives the relevant number and the level. Thereby a user can achieve a list looking something like:
    (a)   First Item.
           1. Sub item
    (b)   Second Item
    
    A user to set custom indents depending on the list level, by accepting options of `customTextIndent` and `customItemIndent`.
    ihd-dev committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    e4227bd View commit details
    Browse the repository at this point in the history