| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a7c5f31 commit 63267df
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11097,8 +11097,22 @@ const gfmStrikethroughFromMarkdown = { | |||
| 11097 | 11097 | enter: {strikethrough: enterStrikethrough}, | |
| 11098 | 11098 | exit: {strikethrough: exitStrikethrough} | |
| 11099 | 11099 | }; | |
| 11100 | + const constructsWithoutStrikethrough = [ | ||
| 11101 | + 'autolink', | ||
| 11102 | + 'destinationLiteral', | ||
| 11103 | + 'destinationRaw', | ||
| 11104 | + 'reference', | ||
| 11105 | + 'titleQuote', | ||
| 11106 | + 'titleApostrophe' | ||
| 11107 | + ]; | ||
| 11100 | 11108 | const gfmStrikethroughToMarkdown = { | |
| 11101 | - unsafe: [{character: '~', inConstruct: 'phrasing'}], | ||
| 11109 | + unsafe: [ | ||
| 11110 | + { | ||
| 11111 | + character: '~', | ||
| 11112 | + inConstruct: 'phrasing', | ||
| 11113 | + notInConstruct: constructsWithoutStrikethrough | ||
| 11114 | + } | ||
| 11115 | + ], | ||
| 11102 | 11116 | handlers: {delete: handleDelete} | |
| 11103 | 11117 | }; | |
| 11104 | 11118 | handleDelete.peek = peekDelete; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,7 @@ | |||
| 16 | 16 | "devDependencies": { | |
| 17 | 17 | "@rollup/plugin-commonjs": "^23.0.2", | |
| 18 | 18 | "@rollup/plugin-node-resolve": "^15.0.1", | |
| 19 | - "rollup": "^3.2.3", | ||
| 19 | + "rollup": "^3.2.5", | ||
| 20 | 20 | "rollup-plugin-cleanup": "^3.2.1" | |
| 21 | 21 | } | |
| 22 | 22 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments