File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2727 <strong >
2828 <svelte:self items ={children } />
2929 </strong >
30+ {:else if type === ' delete' }
31+ <del >
32+ <svelte:self items ={children } />
33+ </del >
3034 {:else if type === ' inlineCode' }
3135 <code >{value }</code >
3236 {:else if type === ' heading' }
Original file line number Diff line number Diff line change 1717 function handleItalic () {
1818 return handleDec (' *' );
1919 }
20+ function handleStrikethrough () {
21+ return handleDec (' ~~' );
22+ }
2023 function handleBlockquote () {}
2124 </script >
2225
3134<div >
3235 <button on:click ={handleBold }>bold</button >
3336 <button on:click ={handleItalic }>italic</button >
37+ <button on:click ={handleStrikethrough }>strikethrough</button >
3438 <button on:click ={handleBlockquote }>blockquote</button >
39+
3540</div >
You can’t perform that action at this time.
0 commit comments