Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Mar 5, 2024
1 parent 6b5ef0f commit 15bbc13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ smd.parser_end(parser)
- [x] \[Link\](url)
- [x] href attr
- [x] Escaping escaping bug: \\[Link\\](url)
- [ ] Raw URLs
- [x] Raw URLs
- [ ] www.example.com
- [x] http://example.com
- [x] https://example.com
Expand Down
12 changes: 6 additions & 6 deletions smd.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const
STRONG_UND = 16384, // 15
STRIKE = 32768, // 16
LINK = 65536, // 17
IMAGE = 131072, // 18
BLOCKQUOTE = 262144, // 19
LINE_BREAK = 524288, // 20
HORIZONTAL_RULE = 1048576, // 21
RAW_URL = 4194304, // 22
RAW_URL = 131072, // 18
IMAGE = 262144, // 19
BLOCKQUOTE = 524288, // 20
LINE_BREAK = 1048576, // 21
HORIZONTAL_RULE = 4194304, // 22
/** `HEADING_1 | HEADING_2 | HEADING_3 | HEADING_4 | HEADING_5 | HEADING_6` */
ANY_HEADING = 252,
/** `CODE_BLOCK | CODE_FENCE | CODE_INLINE` */
Expand All @@ -41,7 +41,7 @@ export const
/** `STRONG_UND | ITALIC_UND` */
ANY_UND = 20480,
/** `ANY_CODE | IMAGE | HORIZONTAL_RULE` */
NO_NESTING = 1181440,
NO_NESTING = 4458240,
/** `DOCUMENT | BLOCKQUOTE` */
ANY_ROOT = 262145

Expand Down

0 comments on commit 15bbc13

Please sign in to comment.