Skip to content

Commit

Permalink
Merge pull request #30 from chrishrb/13-numbered-start-lists-should-b…
Browse files Browse the repository at this point in the history
…e-57-58

13 Ordered list start correctly
  • Loading branch information
chrishrb authored Dec 26, 2024
2 parents 5594d84 + 93ea8d5 commit e3b5ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var blockquotes = []string{"Note", "Tip", "Important", "Warning", "Caution"}
func (client *Client) MdToHTML(bytes []byte) []byte {
extensions := parser.NoIntraEmphasis | parser.Tables | parser.FencedCode |
parser.Autolink | parser.Strikethrough | parser.SpaceHeadings | parser.HeadingIDs |
parser.BackslashLineBreak | parser.MathJax | parser.HardLineBreak
parser.BackslashLineBreak | parser.MathJax | parser.HardLineBreak | parser.OrderedListStart
p := parser.NewWithExtensions(extensions)
doc := p.Parse(bytes)

Expand Down

0 comments on commit e3b5ddc

Please sign in to comment.