CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
26 lines
551 B
JavaScript
26 lines
551 B
JavaScript
/**
|
|
* @import {HtmlExtension} from 'micromark-util-types'
|
|
*/
|
|
|
|
/**
|
|
* Create an HTML extension for `micromark` to support GFM strikethrough when
|
|
* serializing to HTML.
|
|
*
|
|
* @returns {HtmlExtension}
|
|
* Extension for `micromark` that can be passed in `htmlExtensions`, to
|
|
* support GFM strikethrough when serializing to HTML.
|
|
*/
|
|
export function gfmStrikethroughHtml() {
|
|
return {
|
|
enter: {
|
|
strikethrough() {
|
|
this.tag('<del>');
|
|
}
|
|
},
|
|
exit: {
|
|
strikethrough() {
|
|
this.tag('</del>');
|
|
}
|
|
}
|
|
};
|
|
} |