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 ✅
30 lines
654 B
JavaScript
30 lines
654 B
JavaScript
/**
|
|
* @import {HtmlExtension} from 'micromark-util-types'
|
|
*/
|
|
|
|
/**
|
|
* Create an HTML extension for `micromark` to support GFM task list items when
|
|
* serializing to HTML.
|
|
*
|
|
* @returns {HtmlExtension}
|
|
* Extension for `micromark` that can be passed in `htmlExtensions` to
|
|
* support GFM task list items when serializing to HTML.
|
|
*/
|
|
export function gfmTaskListItemHtml() {
|
|
return {
|
|
enter: {
|
|
taskListCheck() {
|
|
this.tag('<input type="checkbox" disabled="" ')
|
|
}
|
|
},
|
|
exit: {
|
|
taskListCheck() {
|
|
this.tag('/>')
|
|
},
|
|
taskListCheckValueChecked() {
|
|
this.tag('checked="" ')
|
|
}
|
|
}
|
|
}
|
|
}
|