Skip to content

feat: add list support - #13

Draft
ItzDerock wants to merge 1 commit into
mainfrom
feat/list
Draft

ItzDerock wants to merge 1 commit into
mainfrom
feat/list

Conversation

@ItzDerock

Copy link
Copy Markdown
Owner

Discord list parser, from my testing, works like this:

  • List items can start with *, {number}. or - followed by any number of spaces.
  • You can continue a list as long as there is less than 2 line breaks:
  * This is part of the list
    And so is this
    
    But this isn't
  • For the above, there must be some bit of space at start for it to be considered part of the same list item
  * List start
    Part of that same list block
  Not part of list, new paragraph

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.

1 participant