finish css overhaul

This commit is contained in:
2023-12-26 20:30:09 -08:00
parent 9a85bef2be
commit ba4c2c2506
18 changed files with 1154 additions and 303 deletions

View File

@ -3,10 +3,11 @@ import { find } from 'unist-util-find';
import { toText } from 'hast-util-to-text';
import { makeSlug } from '../lib/utils.js';
import {writeFileSync} from 'node:fs';
import {toHtml} from 'hast-util-to-html';
export function localRehype() {
let printed = false;
return (tree, vfile) => {
const needsDropcap = vfile.data.fm.dropcap !== false
let dropcapAdded = false;