Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
718 B
TypeScript
31 lines
718 B
TypeScript
export {gfmStrikethroughHtml} from './lib/html.js'
|
|
export {gfmStrikethrough} from './lib/syntax.js'
|
|
|
|
/**
|
|
* Configuration (optional).
|
|
*/
|
|
export interface Options {
|
|
/**
|
|
* Whether to support strikethrough with a single tilde (default: `true`).
|
|
*
|
|
* Single tildes work on github.com, but are technically prohibited by the
|
|
* GFM spec.
|
|
*/
|
|
singleTilde?: boolean | null | undefined
|
|
}
|
|
|
|
/**
|
|
* Augment.
|
|
*/
|
|
declare module 'micromark-util-types' {
|
|
/**
|
|
* Token types.
|
|
*/
|
|
interface TokenTypeMap {
|
|
strikethroughSequence: 'strikethroughSequence'
|
|
strikethroughSequenceTemporary: 'strikethroughSequenceTemporary'
|
|
strikethrough: 'strikethrough'
|
|
strikethroughText: 'strikethroughText'
|
|
}
|
|
}
|