@cutting/markdown 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { bundleMDX } from 'mdx-bundler';
2
- import type { FrontMatterMeta } from './types.js';
2
+ import type { FrontMatterMeta } from './types';
3
3
  export type MarkdownAttributes = {
4
4
  title: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bundleMarkdown.d.ts","sourceRoot":"","sources":["../../src/bundleMarkdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAMxC,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,YAAY,CAAC;AAiB/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C,wBAAsB,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D1E;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,wBAAsB,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CA0BzE"}
1
+ {"version":3,"file":"bundleMarkdown.d.ts","sourceRoot":"","sources":["../../src/bundleMarkdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAMxC,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,SAAS,CAAC;AAiB5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3C,wBAAsB,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D1E;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,wBAAsB,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CA0BzE"}
@@ -0,0 +1,96 @@
1
+ import parseFrontMatter from 'front-matter';
2
+ import { bundleMDX } from 'mdx-bundler';
3
+ import remarkFootnotes from 'remark-footnotes';
4
+ // import remarkMdxImages from 'remark-mdx-images';
5
+ import remarkBreaks from 'remark-breaks';
6
+ import { remarkCodeTitles } from './remark/remark-code-title';
7
+ import { remarkInlineCodeLanguageCreator } from './remark/remark-inline-code-language';
8
+ import readingTime from 'reading-time';
9
+ import { join } from 'path';
10
+ import remarkSlug from 'remark-slug';
11
+ import { readFile, readdir } from 'fs/promises';
12
+ import { DateTime } from 'luxon';
13
+ import rehypePrismPlus from 'rehype-prism-plus';
14
+ import rehypeRaw from 'rehype-raw';
15
+ import rehypePresetMinify from 'rehype-preset-minify';
16
+ import remarkMath from 'remark-math';
17
+ import remarkGfm from 'remark-gfm';
18
+ import remarkAutolinkHeadings from 'remark-autolink-headings';
19
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
20
+ // @ts-ignore
21
+ import rehypeMathjax from 'rehype-mathjax';
22
+ const root = process.cwd();
23
+ export async function bundleMarkdown(markdownPath) {
24
+ const source = await readFile(markdownPath, 'utf-8');
25
+ const remarkInlineCodeLanguage = await remarkInlineCodeLanguageCreator();
26
+ process.env.ESBUILD_BINARY_PATH = join(root, 'node_modules', 'esbuild', 'bin', 'esbuild');
27
+ process.env.NODE_ENV = 'production';
28
+ const post = await bundleMDX({
29
+ source,
30
+ mdxOptions(options) {
31
+ options.remarkPlugins = [
32
+ ...(options.remarkPlugins ?? []),
33
+ // remarkMdxImages,
34
+ remarkBreaks,
35
+ remarkCodeTitles,
36
+ remarkInlineCodeLanguage,
37
+ [remarkFootnotes, { inlineNotes: true }],
38
+ [remarkAutolinkHeadings, { behavior: 'wrap' }],
39
+ remarkSlug,
40
+ remarkGfm,
41
+ remarkMath,
42
+ ];
43
+ options.rehypePlugins = [
44
+ ...(options.rehypePlugins ?? []),
45
+ rehypeMathjax,
46
+ [rehypePrismPlus, { ignoreMissing: true }],
47
+ rehypePresetMinify,
48
+ [
49
+ rehypeRaw,
50
+ {
51
+ passThrough: [
52
+ 'mdxjsEsm',
53
+ 'mdxFlowExpression',
54
+ 'mdxTextExpression',
55
+ 'mdxJsxFlowElement',
56
+ 'mdxJsxTextElement',
57
+ ],
58
+ },
59
+ ],
60
+ ];
61
+ return options;
62
+ },
63
+ }).catch((e) => {
64
+ console.error(e);
65
+ throw e;
66
+ });
67
+ return {
68
+ ...post,
69
+ frontmatter: {
70
+ meta: {
71
+ readingTime: readingTime(post.code),
72
+ ...post.frontmatter.meta,
73
+ },
74
+ },
75
+ };
76
+ }
77
+ export async function getPosts(postsRootPath) {
78
+ const postsPath = await readdir(postsRootPath, {
79
+ withFileTypes: true,
80
+ });
81
+ const posts = [];
82
+ for (const dirent of postsPath) {
83
+ const file = await readFile(join(postsRootPath, dirent.name, 'index.md'));
84
+ const { attributes: {
85
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
86
+ meta: { date, slug, ...meta }, }, } = parseFrontMatter(file.toString());
87
+ posts.push({
88
+ slug: dirent.name.replace(/\.mdx/, ''),
89
+ date: new Date(date).toISOString(),
90
+ formattedDate: DateTime.fromISO(date).toLocaleString(DateTime.DATE_FULL),
91
+ ...meta,
92
+ });
93
+ }
94
+ return posts.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime());
95
+ }
96
+ //# sourceMappingURL=bundleMarkdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundleMarkdown.js","sourceRoot":"","sources":["../../src/bundleMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,cAAc,CAAC;AAC5C,OAAO,EAA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K,MAAM,MAAM,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;QAE1E,MAAM,EACJ,UAAU,EAAE;QACV,6DAA6D;QAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAC9B,GACF,GAAG,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAgC,CAAC;QAErE,KAAK,CAAC,IAAI,CAAC;YACT,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;YACtC,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE;YAClC,aAAa,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC;YACxE,GAAG,IAAI;SACR,CAAC,CAAC;IACL,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AACvF,CAAC"}
@@ -1,3 +1,3 @@
1
- export { bundleMarkdown, getPosts } from './bundleMarkdown.js';
2
- export type { PostData } from './bundleMarkdown.js';
1
+ export { bundleMarkdown, getPosts } from './bundleMarkdown';
2
+ export type { PostData } from './bundleMarkdown';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/remark/remark-code-title.ts","../../src/bundleMarkdown.ts","../../src/remark/remark-inline-code-language.ts"],"sourcesContent":["import { visit } from 'unist-util-visit';\n\ntype Tree = Parameters<typeof visit>[0];\n\nexport function remarkCodeTitles() {\n return (tree: Tree): void =>\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n visit(tree, 'code', (node: { lang?: string }, index: number, parent: any) => {\n const nodeLang = node.lang || '';\n let language = '';\n let title = '';\n\n if (nodeLang.includes(':')) {\n language = nodeLang.slice(0, nodeLang.search(':'));\n title = nodeLang.slice(nodeLang.search(':') + 1, nodeLang.length);\n }\n\n if (!title) {\n return;\n }\n\n const className = 'remark-code-title';\n\n const titleNode = {\n type: 'mdxJsxFlowElement',\n name: 'div',\n attributes: [{ type: 'mdxJsxAttribute', name: 'className', value: className }],\n children: [{ type: 'text', value: title }],\n data: { _xdmExplicitJsx: true },\n };\n\n parent.children.splice(index, 0, titleNode);\n node.lang = language;\n });\n}\n","import parseFrontMatter from 'front-matter';\nimport { bundleMDX } from 'mdx-bundler';\nimport remarkFootnotes from 'remark-footnotes';\n// import remarkMdxImages from 'remark-mdx-images';\nimport remarkBreaks from 'remark-breaks';\nimport { remarkCodeTitles } from './remark/remark-code-title.js';\nimport { remarkInlineCodeLanguageCreator } from './remark/remark-inline-code-language.js';\nimport type { FrontMatter, FrontMatterMeta } from './types.js';\nimport readingTime from 'reading-time';\nimport { join } from 'path';\nimport remarkSlug from 'remark-slug';\nimport { readFile, readdir } from 'fs/promises';\nimport { DateTime } from 'luxon';\nimport rehypePrismPlus from 'rehype-prism-plus';\nimport rehypeRaw from 'rehype-raw';\nimport rehypePresetMinify from 'rehype-preset-minify';\nimport remarkMath from 'remark-math';\nimport remarkGfm from 'remark-gfm';\nimport remarkAutolinkHeadings from 'remark-autolink-headings';\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport rehypeMathjax from 'rehype-mathjax';\n\nexport type MarkdownAttributes = {\n title: string;\n};\n\nconst root = process.cwd();\n\ntype Matter = ReturnType<typeof bundleMDX>;\n\nexport async function bundleMarkdown(markdownPath: string): Promise<Matter> {\n const source = await readFile(markdownPath, 'utf-8');\n\n const remarkInlineCodeLanguage = await remarkInlineCodeLanguageCreator();\n\n process.env.ESBUILD_BINARY_PATH = join(root, 'node_modules', 'esbuild', 'bin', 'esbuild');\n process.env.NODE_ENV = 'production';\n\n const post = await bundleMDX({\n source,\n mdxOptions(options) {\n options.remarkPlugins = [\n ...(options.remarkPlugins ?? []),\n // remarkMdxImages,\n remarkBreaks,\n remarkCodeTitles,\n remarkInlineCodeLanguage,\n [remarkFootnotes, { inlineNotes: true }],\n [remarkAutolinkHeadings, { behavior: 'wrap' }],\n remarkSlug,\n remarkGfm,\n remarkMath,\n ];\n options.rehypePlugins = [\n ...(options.rehypePlugins ?? []),\n rehypeMathjax,\n [rehypePrismPlus, { ignoreMissing: true }],\n rehypePresetMinify,\n [\n rehypeRaw,\n {\n passThrough: [\n 'mdxjsEsm',\n 'mdxFlowExpression',\n 'mdxTextExpression',\n 'mdxJsxFlowElement',\n 'mdxJsxTextElement',\n ],\n },\n ],\n ];\n\n return options;\n },\n }).catch((e) => {\n console.error(e);\n throw e;\n });\n\n return {\n ...post,\n frontmatter: {\n meta: {\n readingTime: readingTime(post.code),\n ...post.frontmatter.meta,\n },\n },\n };\n}\n\nexport type PostData = FrontMatterMeta & { formattedDate: string };\n\nexport async function getPosts(postsRootPath: string): Promise<PostData[]> {\n const postsPath = await readdir(postsRootPath, {\n withFileTypes: true,\n });\n\n const posts: PostData[] = [];\n\n for (const dirent of postsPath) {\n const file = await readFile(join(postsRootPath, dirent.name, 'index.md'));\n\n const {\n attributes: {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n meta: { date, slug, ...meta },\n },\n } = parseFrontMatter(file.toString()) as { attributes: FrontMatter };\n\n posts.push({\n slug: dirent.name.replace(/\\.mdx/, ''),\n date: new Date(date).toISOString(),\n formattedDate: DateTime.fromISO(date).toLocaleString(DateTime.DATE_FULL),\n ...meta,\n });\n }\n\n return posts.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime());\n}\n","// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport async function remarkInlineCodeLanguageCreator() {\n const { visit } = await import('unist-util-visit');\n const { escapeHtml } = await import('@cutting/util');\n\n return function remarkInlineCodeLanguage() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (tree: any): void =>\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n visit(tree, 'inlineCode', (node: any) => {\n const className = `language-typescript`;\n\n node.type = 'html';\n node.value = `<code class=\"${className} cutting-inline\">${escapeHtml(node.value)}</code>`;\n });\n };\n}\n"],"names":["remarkCodeTitles","tree","visit","node","index","parent","nodeLang","lang","language","title","includes","slice","search","length","children","splice","type","name","attributes","value","data","_xdmExplicitJsx","root","process","cwd","async","bundleMarkdown","markdownPath","source","readFile","remarkInlineCodeLanguage","import","escapeHtml","remarkInlineCodeLanguageCreator","env","ESBUILD_BINARY_PATH","join","NODE_ENV","post","bundleMDX","mdxOptions","options","remarkPlugins","remarkBreaks","remarkFootnotes","inlineNotes","remarkAutolinkHeadings","behavior","remarkSlug","remarkGfm","remarkMath","rehypePlugins","rehypeMathjax","rehypePrismPlus","ignoreMissing","rehypePresetMinify","rehypeRaw","passThrough","catch","e","console","error","frontmatter","meta","readingTime","code","getPosts","postsRootPath","postsPath","readdir","withFileTypes","posts","dirent","file","date","slug","parseFrontMatter","toString","push","replace","Date","toISOString","formattedDate","DateTime","fromISO","toLocaleString","D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EC,eAAe,IACnCC,EACA,CACEC,EACA,CACEC,YAAa,CACX,WACA,oBACA,oBACA,oBACA,wBAMDhB,KAERiB,OAAOC,IAER,MADAC,QAAQC,MAAMF,GACRA,CAAC,IAGT,MAAO,IACFrB,EACHwB,YAAa,CACXC,KAAM,CACJC,YAAaA,EAAY1B,EAAK2B,SAC3B3B,EAAKwB,YAAYC,OAI5B,CAIOtC,eAAeyC,EAASC,GAC7B,MAAMC,QAAkBC,EAAQF,EAAe,CAC7CG,eAAe,IAGXC,EAAoB,GAE1B,IAAK,MAAMC,KAAUJ,EAAW,CAC9B,MAAMK,QAAa5C,EAASO,EAAK+B,EAAeK,EAAOvD,KAAM,cAG3DC,YAEE6C,MAAMW,KAAEA,EAAIC,KAAEA,KAASZ,KAEvBa,EAAiBH,EAAKI,YAE1BN,EAAMO,KAAK,CACTH,KAAMH,EAAOvD,KAAK8D,QAAQ,QAAS,IACnCL,KAAM,IAAIM,KAAKN,GAAMO,cACrBC,cAAeC,EAASC,QAAQV,GAAMW,eAAeF,EAASG,cAC3DvB,GAEN,CAED,OAAOQ,EAAMgB,MAAK,CAACC,EAAGC,IAAM,IAAIT,KAAKS,EAAEf,MAAMgB,UAAY,IAAIV,KAAKQ,EAAEd,MAAMgB,WAC5E"}
1
+ {"version":3,"file":"index.js","sources":["../../src/remark/remark-code-title.ts","../../src/bundleMarkdown.ts","../../src/remark/remark-inline-code-language.ts"],"sourcesContent":["import { visit } from 'unist-util-visit';\n\ntype Tree = Parameters<typeof visit>[0];\n\nexport function remarkCodeTitles() {\n return (tree: Tree): void =>\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n visit(tree, 'code', (node: { lang?: string }, index: number, parent: any) => {\n const nodeLang = node.lang || '';\n let language = '';\n let title = '';\n\n if (nodeLang.includes(':')) {\n language = nodeLang.slice(0, nodeLang.search(':'));\n title = nodeLang.slice(nodeLang.search(':') + 1, nodeLang.length);\n }\n\n if (!title) {\n return;\n }\n\n const className = 'remark-code-title';\n\n const titleNode = {\n type: 'mdxJsxFlowElement',\n name: 'div',\n attributes: [{ type: 'mdxJsxAttribute', name: 'className', value: className }],\n children: [{ type: 'text', value: title }],\n data: { _xdmExplicitJsx: true },\n };\n\n parent.children.splice(index, 0, titleNode);\n node.lang = language;\n });\n}\n","import parseFrontMatter from 'front-matter';\nimport { bundleMDX } from 'mdx-bundler';\nimport remarkFootnotes from 'remark-footnotes';\n// import remarkMdxImages from 'remark-mdx-images';\nimport remarkBreaks from 'remark-breaks';\nimport { remarkCodeTitles } from './remark/remark-code-title';\nimport { remarkInlineCodeLanguageCreator } from './remark/remark-inline-code-language';\nimport type { FrontMatter, FrontMatterMeta } from './types';\nimport readingTime from 'reading-time';\nimport { join } from 'path';\nimport remarkSlug from 'remark-slug';\nimport { readFile, readdir } from 'fs/promises';\nimport { DateTime } from 'luxon';\nimport rehypePrismPlus from 'rehype-prism-plus';\nimport rehypeRaw from 'rehype-raw';\nimport rehypePresetMinify from 'rehype-preset-minify';\nimport remarkMath from 'remark-math';\nimport remarkGfm from 'remark-gfm';\nimport remarkAutolinkHeadings from 'remark-autolink-headings';\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport rehypeMathjax from 'rehype-mathjax';\n\nexport type MarkdownAttributes = {\n title: string;\n};\n\nconst root = process.cwd();\n\ntype Matter = ReturnType<typeof bundleMDX>;\n\nexport async function bundleMarkdown(markdownPath: string): Promise<Matter> {\n const source = await readFile(markdownPath, 'utf-8');\n\n const remarkInlineCodeLanguage = await remarkInlineCodeLanguageCreator();\n\n process.env.ESBUILD_BINARY_PATH = join(root, 'node_modules', 'esbuild', 'bin', 'esbuild');\n process.env.NODE_ENV = 'production';\n\n const post = await bundleMDX({\n source,\n mdxOptions(options) {\n options.remarkPlugins = [\n ...(options.remarkPlugins ?? []),\n // remarkMdxImages,\n remarkBreaks,\n remarkCodeTitles,\n remarkInlineCodeLanguage,\n [remarkFootnotes, { inlineNotes: true }],\n [remarkAutolinkHeadings, { behavior: 'wrap' }],\n remarkSlug,\n remarkGfm,\n remarkMath,\n ];\n options.rehypePlugins = [\n ...(options.rehypePlugins ?? []),\n rehypeMathjax,\n [rehypePrismPlus, { ignoreMissing: true }],\n rehypePresetMinify,\n [\n rehypeRaw,\n {\n passThrough: [\n 'mdxjsEsm',\n 'mdxFlowExpression',\n 'mdxTextExpression',\n 'mdxJsxFlowElement',\n 'mdxJsxTextElement',\n ],\n },\n ],\n ];\n\n return options;\n },\n }).catch((e) => {\n console.error(e);\n throw e;\n });\n\n return {\n ...post,\n frontmatter: {\n meta: {\n readingTime: readingTime(post.code),\n ...post.frontmatter.meta,\n },\n },\n };\n}\n\nexport type PostData = FrontMatterMeta & { formattedDate: string };\n\nexport async function getPosts(postsRootPath: string): Promise<PostData[]> {\n const postsPath = await readdir(postsRootPath, {\n withFileTypes: true,\n });\n\n const posts: PostData[] = [];\n\n for (const dirent of postsPath) {\n const file = await readFile(join(postsRootPath, dirent.name, 'index.md'));\n\n const {\n attributes: {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n meta: { date, slug, ...meta },\n },\n } = parseFrontMatter(file.toString()) as { attributes: FrontMatter };\n\n posts.push({\n slug: dirent.name.replace(/\\.mdx/, ''),\n date: new Date(date).toISOString(),\n formattedDate: DateTime.fromISO(date).toLocaleString(DateTime.DATE_FULL),\n ...meta,\n });\n }\n\n return posts.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime());\n}\n","// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport async function remarkInlineCodeLanguageCreator() {\n const { visit } = await import('unist-util-visit');\n const { escapeHtml } = await import('@cutting/util');\n\n return function remarkInlineCodeLanguage() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (tree: any): void =>\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n visit(tree, 'inlineCode', (node: any) => {\n const className = `language-typescript`;\n\n node.type = 'html';\n node.value = `<code class=\"${className} cutting-inline\">${escapeHtml(node.value)}</code>`;\n });\n };\n}\n"],"names":["remarkCodeTitles","tree","visit","node","index","parent","nodeLang","lang","language","title","includes","slice","search","length","children","splice","type","name","attributes","value","data","_xdmExplicitJsx","root","process","cwd","async","bundleMarkdown","markdownPath","source","readFile","remarkInlineCodeLanguage","import","escapeHtml","remarkInlineCodeLanguageCreator","env","ESBUILD_BINARY_PATH","join","NODE_ENV","post","bundleMDX","mdxOptions","options","remarkPlugins","remarkBreaks","remarkFootnotes","inlineNotes","remarkAutolinkHeadings","behavior","remarkSlug","remarkGfm","remarkMath","rehypePlugins","rehypeMathjax","rehypePrismPlus","ignoreMissing","rehypePresetMinify","rehypeRaw","passThrough","catch","e","console","error","frontmatter","meta","readingTime","code","getPosts","postsRootPath","postsPath","readdir","withFileTypes","posts","dirent","file","date","slug","parseFrontMatter","toString","push","replace","Date","toISOString","formattedDate","DateTime","fromISO","toLocaleString","DATE_FULL","sort","a","b","getTime"],"mappings":"qjBAIgBA,IACd,OAAQC,GAENC,EAAMD,EAAM,QAAQ,CAACE,EAAyBC,EAAeC,KAC3D,MAAMC,EAAWH,EAAKI,MAAQ,GAC9B,IAAIC,EAAW,GACXC,EAAQ,GAERH,EAASI,SAAS,OACpBF,EAAWF,EAASK,MAAM,EAAGL,EAASM,OAAO,MAC7CH,EAAQH,EAASK,MAAML,EAASM,OAAO,KAAO,EAAGN,EAASO,SAGvDJ,IAcLJ,EAAOS,SAASC,OAAOX,EAAO,EARZ,CAChBY,KAAM,oBACNC,KAAM,MACNC,WAAY,CAAC,CAAEF,KAAM,kBAAmBC,KAAM,YAAaE,MAL3C,sBAMhBL,SAAU,CAAC,CAAEE,KAAM,OAAQG,MAAOV,IAClCW,KAAM,CAAEC,iBAAiB,KAI3BlB,EAAKI,KAAOC,EAAQ,GAE1B,CCNA,MAAMc,EAAOC,QAAQC,MAIdC,eAAeC,EAAeC,GACnC,MAAMC,QAAeC,EAASF,EAAc,SAEtCG,QClCDL,iBACL,MAAMvB,MAAEA,SAAgB6B,OAAO,qBAC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AK,CAACC,EAAGC,IAAM,IAAIT,KAAKS,EAAEf,MAAMgB,UAAY,IAAIV,KAAKQ,EAAEd,MAAMgB,WAC5E"}
@@ -0,0 +1,28 @@
1
+ import { visit } from 'unist-util-visit';
2
+ export function remarkCodeTitles() {
3
+ return (tree) =>
4
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
+ visit(tree, 'code', (node, index, parent) => {
6
+ const nodeLang = node.lang || '';
7
+ let language = '';
8
+ let title = '';
9
+ if (nodeLang.includes(':')) {
10
+ language = nodeLang.slice(0, nodeLang.search(':'));
11
+ title = nodeLang.slice(nodeLang.search(':') + 1, nodeLang.length);
12
+ }
13
+ if (!title) {
14
+ return;
15
+ }
16
+ const className = 'remark-code-title';
17
+ const titleNode = {
18
+ type: 'mdxJsxFlowElement',
19
+ name: 'div',
20
+ attributes: [{ type: 'mdxJsxAttribute', name: 'className', value: className }],
21
+ children: [{ type: 'text', value: title }],
22
+ data: { _xdmExplicitJsx: true },
23
+ };
24
+ parent.children.splice(index, 0, titleNode);
25
+ node.lang = language;
26
+ });
27
+ }
28
+ //# sourceMappingURL=remark-code-title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remark-code-title.js","sourceRoot":"","sources":["../../../src/remark/remark-code-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAIzC,MAAM,UAAU,gBAAgB;IAC9B,OAAO,CAAC,IAAU,EAAQ,EAAE;IAC1B,8DAA8D;IAC9D,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,IAAuB,EAAE,KAAa,EAAE,MAAW,EAAE,EAAE;QAC1E,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QACjC,IAAI,QAAQ,GAAG,EAAE,CAAC;QAClB,IAAI,KAAK,GAAG,EAAE,CAAC;QAEf,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;YACnD,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;QACpE,CAAC;QAED,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,OAAO;QACT,CAAC;QAED,MAAM,SAAS,GAAG,mBAAmB,CAAC;QAEtC,MAAM,SAAS,GAAG;YAChB,IAAI,EAAE,mBAAmB;YACzB,IAAI,EAAE,KAAK;YACX,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;YAC9E,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;YAC1C,IAAI,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE;SAChC,CAAC;QAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;IACvB,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { visit } from 'unist-util-visit';
2
+ import { load } from 'js-yaml';
3
+ export function extractFrontmatter() {
4
+ return (tree, file) => {
5
+ visit(tree, 'yaml', (node) => {
6
+ file.data.frontmatter = load(node.value);
7
+ });
8
+ };
9
+ }
10
+ //# sourceMappingURL=remark-extract-frontmatter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remark-extract-frontmatter.js","sourceRoot":"","sources":["../../../src/remark/remark-extract-frontmatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAI/B,MAAM,UAAU,kBAAkB;IAChC,OAAO,CAAC,IAAU,EAAE,IAAwC,EAAQ,EAAE;QACpE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,IAAuB,EAAE,EAAE;YAC9C,IAAI,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { visit } from 'unist-util-visit';
2
+ import sizeOf from 'image-size';
3
+ import fs from 'fs';
4
+ export function remarkImgToJsx() {
5
+ return (tree) => {
6
+ visit(tree,
7
+ // only visit p tags that contain an img element
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
+ (node) => node.type === 'paragraph' && node.children.some((n) => n.type === 'image'),
10
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
+ (node) => {
12
+ const imageNode = node.children.find((n) => n.type === 'image');
13
+ // only local files
14
+ if (fs.existsSync(`${process.cwd()}/public${imageNode.url}`)) {
15
+ const dimensions = sizeOf(`${process.cwd()}/public${imageNode.url}`);
16
+ // Convert original node to next/image
17
+ (imageNode.type = 'mdxJsxFlowElement'),
18
+ (imageNode.name = 'Image'),
19
+ (imageNode.attributes = [
20
+ { type: 'mdxJsxAttribute', name: 'alt', value: imageNode.alt },
21
+ { type: 'mdxJsxAttribute', name: 'src', value: imageNode.url },
22
+ { type: 'mdxJsxAttribute', name: 'width', value: dimensions.width },
23
+ { type: 'mdxJsxAttribute', name: 'height', value: dimensions.height },
24
+ ]);
25
+ // Change node type from p to div to avoid nesting error
26
+ node.type = 'div';
27
+ node.children = [imageNode];
28
+ }
29
+ });
30
+ };
31
+ }
32
+ //# sourceMappingURL=remark-img-to-jsx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remark-img-to-jsx.js","sourceRoot":"","sources":["../../../src/remark/remark-img-to-jsx.ts"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AE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE;wBACnE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE;qBACtE,CAAC,CAAC;gBAEL,wDAAwD;gBACxD,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;gBAClB,IAAI,CAAC,QAAQ,GAAG,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC,CACF,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
2
+ export async function remarkInlineCodeLanguageCreator() {
3
+ const { visit } = await import('unist-util-visit');
4
+ const { escapeHtml } = await import('@cutting/util');
5
+ return function remarkInlineCodeLanguage() {
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
+ return (tree) =>
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
+ visit(tree, 'inlineCode', (node) => {
10
+ const className = `language-typescript`;
11
+ node.type = 'html';
12
+ node.value = `<code class="${className} cutting-inline">${escapeHtml(node.value)}</code>`;
13
+ });
14
+ };
15
+ }
16
+ //# sourceMappingURL=remark-inline-code-language.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remark-inline-code-language.js","sourceRoot":"","sources":["../../../src/remark/remark-inline-code-language.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,MAAM,CAAC,KAAK,UAAU,+BAA+B;IACnD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACnD,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC;IAErD,OAAO,SAAS,wBAAwB;QACtC,8DAA8D;QAC9D,OAAO,CAAC,IAAS,EAAQ,EAAE;QACzB,8DAA8D;QAC9D,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,CAAC,IAAS,EAAE,EAAE;YACtC,MAAM,SAAS,GAAG,qBAAqB,CAAC;YAExC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;YACnB,IAAI,CAAC,KAAK,GAAG,gBAAgB,SAAS,oBAAoB,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;QAC5F,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../node_modules/front-matter/index.d.ts","../node_modules/esbuild/lib/main.d.ts","../../../node_modules/@types/mdx/types.d.ts","../node_modules/mdx-bundler/dist/types.d.ts","../node_modules/mdx-bundler/dist/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../node_modules/remark-footnotes/index.d.ts","../node_modules/remark-breaks/lib/index.d.ts","../node_modules/remark-breaks/index.d.ts","../node_modules/unist-util-visit/lib/index.d.ts","../node_modules/unist-util-visit/index.d.ts","../src/remark/remark-code-title.ts","../node_modules/@cutting/util/dist/esm/types/DeepPartial.d.ts","../node_modules/@cutting/util/dist/esm/types/entries.d.ts","../node_modules/@cutting/util/dist/esm/functions/functions.d.ts","../node_modules/@cutting/util/dist/esm/date/date.d.ts","../node_modules/@cutting/util/dist/esm/dom/dom.d.ts","../node_modules/@cutting/util/dist/esm/dom/wait.d.ts","../node_modules/@cutting/util/dist/esm/number/index.d.ts","../node_modules/@cutting/util/dist/esm/enums/HttpMethod.d.ts","../node_modules/@cutting/util/dist/esm/enums/HttpStatusCodes.d.ts","../node_modules/@cutting/util/dist/esm/events/once/once.d.ts","../node_modules/@cutting/util/dist/esm/lists/lists.d.ts","../node_modules/@cutting/util/dist/esm/object/by.d.ts","../node_modules/@cutting/util/dist/esm/object/identity.d.ts","../node_modules/@cutting/util/dist/esm/object/isNil.d.ts","../node_modules/@cutting/util/dist/esm/object/isObject.d.ts","../node_modules/@cutting/util/dist/esm/object/range.d.ts","../node_modules/@cutting/util/dist/esm/object/uniqueid.d.ts","../node_modules/@cutting/util/dist/esm/string/index.d.ts","../node_modules/@cutting/util/dist/esm/string/escapeHtml.d.ts","../node_modules/@cutting/util/dist/esm/services/storageHelper/index.d.ts","../node_modules/@cutting/util/dist/esm/environment/index.d.ts","../node_modules/@cutting/util/dist/esm/object/unique.d.ts","../node_modules/@cutting/util/dist/esm/object/omit.d.ts","../node_modules/@cutting/util/dist/esm/object/is-equal.d.ts","../node_modules/@cutting/util/dist/esm/object/map-values.d.ts","../node_modules/@cutting/util/dist/esm/object/combinations.d.ts","../node_modules/@cutting/util/dist/esm/uuid/uuid.d.ts","../node_modules/@cutting/util/dist/esm/index.d.ts","../src/remark/remark-inline-code-language.ts","../node_modules/reading-time/index.d.ts","../src/types.ts","../../../node_modules/@types/hast/index.d.ts","../node_modules/remark-slug/index.d.ts","../node_modules/@types/luxon/src/zone.d.ts","../node_modules/@types/luxon/src/settings.d.ts","../node_modules/@types/luxon/src/_util.d.ts","../node_modules/@types/luxon/src/misc.d.ts","../node_modules/@types/luxon/src/duration.d.ts","../node_modules/@types/luxon/src/interval.d.ts","../node_modules/@types/luxon/src/datetime.d.ts","../node_modules/@types/luxon/src/info.d.ts","../node_modules/@types/luxon/src/luxon.d.ts","../node_modules/@types/luxon/index.d.ts","../node_modules/rehype-prism-plus/dist/generator.d.ts","../node_modules/rehype-prism-plus/dist/common.d.ts","../node_modules/rehype-prism-plus/dist/all.d.ts","../node_modules/rehype-prism-plus/dist/index.d.ts","../node_modules/rehype-raw/lib/index.d.ts","../node_modules/rehype-raw/index.d.ts","../node_modules/rehype-preset-minify/index.d.ts","../node_modules/remark-math/lib/index.d.ts","../node_modules/remark-math/index.d.ts","../node_modules/remark-gfm/lib/index.d.ts","../node_modules/remark-gfm/index.d.ts","../node_modules/remark-autolink-headings/index.d.ts","../node_modules/rehype-mathjax/lib/create-plugin.d.ts","../node_modules/rehype-mathjax/lib/svg.d.ts","../node_modules/rehype-mathjax/svg.d.ts","../src/bundleMarkdown.ts","../src/index.ts","../../../node_modules/@types/js-yaml/index.d.ts","../../../node_modules/@types/js-yaml/index.d.mts","../src/remark/remark-extract-frontmatter.ts","../node_modules/image-size/dist/types/interface.d.ts","../node_modules/image-size/dist/types/index.d.ts","../node_modules/image-size/dist/index.d.ts","../src/remark/remark-img-to-jsx.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../node_modules/@cutting/useful-types/global.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true},"9ed09d4538e25fc79cefc5e7b5bfbae0464f06d2984f19da009f85d13656c211","b1bf87add0ccfb88472cd4c6013853d823a7efb791c10bb7a11679526be91eda",{"version":"e57060d35890b1b32ced2c62875e5db1be4eba7f7cf91db86715bb7c1c8498bc","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","a550e74188fd5b5fb321aa432eb196ebd8dbefe190399393ab0800ad2e35f7f1","077bdf7e67c30015ec0d80b853c835f4ec7a572e4a1842b2115497adca45ecff","45b6a651b5e502cdfa93dc2f23779752def4ada323ebcfc34e4a4d22e9589971","89165230766a3b116b1216ed1530bdd831f1f1c820ca2c7262a86dd70477f489","8e7594708159023f0d42c1874efb1f0e05ea17c1718274cf09ab32e1e605cd40","89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","1af1f2c02132bafa25c4c4b7c415e0a59ba959d6db6bd1800a43fb5d943e3f77","42bb1841b89b638b4b9a4c1012a8a67718cfca0f1b21dac0671841a8f70baff9","0a4887266484724ad58e26d79682ebb061781316f1ca2c3735d875debb5f1b96","c35294da7a7f5e0cfd7f8efd5c0b9cdd4af7355f54f0244347d634b048e54a8d","ef12df927e5deeaa09efeaf9f79336fa33745a4b3d745a8a35f43ea587bbcf40","083609ca47c047c6802bd40e974346a9509ef28367bb07769dbcead77cc7359f",{"version":"2b842c0c6bd9f695a1843afe1187790628f04f540f21268b277f1c3d3b877b26","signature":"48ad22e785016d4fbb76d08c5ff877db581487bc9b7ceb0cc3cc5a62a53de734"},"0cbee4c2b81c7066df18c50bd1ddd756ba0f4d331b4e79fdede2de1b468fb997","1b656427b97b700fe96c01b34b54411c6c6bc8255b47479735a91f224621335d","88fad19d571922e0a80f1ca9b43b60582121d7b75e26b6b7d40421f2b4871313","5843c25459e48e3b4f36ac7225081fba7f88cd6d7227e56ee80a40f9807fa586","c5af68f58e5e49e7167e432705d57b46774757853ac8554af199a5adcfba43c1","43e5acee800cc665fbd5bdcb6ba371639908f49c80139ba93aad37403f1a3f6d","aac4d6d3641a7d5a3e26e03bbd4d3d0cd3d78cb84479b9906e61897847d8cb43","98eec5fd7c70b09a28fa4160a387bf794adbca4c1ef44d4d297084619af8023f","8dc3b707b535754735a6d25f107c7ebb312acdfe3f89c91a682beb8bd670d14f","dbb676bf06482e8047a241c2e77d1db17eac21a48e52a6c5fa4da9ca116f990d","617749f706bd4cac8efd1d4e8f595e16ee7f8dfb546c48212c3589a9b21899d0","d3628c6f5b1549cd1859592c7294b98d8826401ed741cc2e1b90709617f10c08","ba5319acd9083a53cbdcead35940063d1db519700221c8e57c76daa5588033b5","8268c91dea1963a4d127953c8ca6474eff8f907e15beb10821410127b7c020a1","79f3caa9ae22203bc9555e4069feac33faa861af20005c1c1565e9fc37619679","928f5c4af88cbaa7c94103ae16dc6c190f00c5664686a4abee19e14bf20d695a","19b2adbfec977d3384e04d58b1b9625bc1fb11a2909815306a545c62248728bd","bcd04633c8a6ebf1c16ed9b734b0a67bd92490f5dcb693b3159481fee9198a9c","190c477edfa9b400d2f8fdd71e95c2330820a160ef77722dee58e5c44cf3f4f8","bf10d3c42d6b30c10b1958e0e0d1218be4479db537763c57aa9536fd56f6e5b3","fb28d0fb55f96c3163fa909012feaaf8d6065af9a28c8b69d5bed7ee67912d1e","410025e3e42ffe4539fbe2d87c755e202bf0ffb7d2d50065cafd71c78590da22","8ce8b8fcb1293ba5e34f49f23959edd758ff4dff7b582e72eb1745857a0bf7a5","f712820c3b812c4d0817dd9d2b0b043f601842677eeaec124342f1c3c9347297","82afa84fd6fdf3f2903f8788454a9a817c4caaaff4025ae5b74d5faacbfceeb9","db5d6c87455e06b7692dda7a160bd805f0afb29cfd58fd585febf8b33c789c30","914ccf74f18ee798574084c10b93299703fe8e9118d7f3e0e7c0b1d97282db87","a825db5357694e53e5ee4a5e5180d0a44a98549655f78561ddd7629cb002241c",{"version":"6fe950074fae579c3435c0a9811d628f66f1c50ed06727a6efbeed09d9fd715a","signature":"2fa1d8faa64ea3a10b4770c7190021a9327d4b523a16fcf2270e3ad9b5d56ec4"},"3d1600dc772549c3eacc2b8b0b26f2fd51f269cb863504b3edc3bd7dbbb1e4d2",{"version":"3b5ff63ab72492c3f651c328d1ed24cb28bb8a4e235b241b88bd9ac9454ed185","signature":"4538a99c1c7b353422c4782ba92a1cd7e1a5dbfdc18f7361881320e6d7fa8156"},"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","1b25b7b630739c407e6c5d6923e24392890f78df7a3afd7242c9a7aafe754723","5339f84dfcb7b04aa1c2b4d7713d6128039381447f07abc2e48d36685e2eef44","fb35a61a39c933d31b5b2549d906b2c932a1486622958586f662dbd4b2fe72e6","24e2728268be1ad2407bab004549d2753a49b2acb0f117a04c4e28ffb3ecdd4f","aff159b14eba59afe98a88fe6f57881ba02895fb9763512dda9083497bdcd0e6","b6bc775d112a7761a50594fc589aeaa8893c139ffe3db2b4999756e17f367a8d","0b8f398b88a43f8bf29a50920e7ddef19c06c3008b351e7047e9613d7195c638","25d0e0fe3731bc85c7bd2ef7f7e1faf4f5201be1c10ff3a19e1afa6ec4568669","26080058b725ac0b480241751255b4391f722263778e84e66a62068705aafd3c","46afbf46c3d62eac2afead3a2011d506637bf4f2c05e1fd64bbf7e2bb2947b7c","02f634f868780eaaff5e2d3fb4570dac8e7f018a8650bb9a0ac1deb4915df8d1","4f2170cd6afb31ee31cabb9f8fd3ff0a109d629c7bbf308c17427607e18adc0e","2b451a7dffb5d9026c88a053dc3ded757820cd2a877486dd029606580f407aaa","4128bf836f526dd0b99912e54c09aaef9c96bdd4d5f2ac4cc1869ed458abdf1c","42f26b6486de9b338c2fc03e5d227d32ec4c8a82776367b1091dd3d4bd8db841","aca7993c58cb5a83a58d11b31947c91174ba1847d5a6d7d11f289b09a2efb2ac","4e3ab6678655e507463a9bfa1aa39a4a5497fac4c75e5f7f7a16c0b7d001c34a","97fa9ed6f7cb4600050dacd6cb8ed571fc4ff7610dc9f664a1c778b0b799e307","f0eb42a134d7bb15f24aed89d8f3b5ffe6e326c74abdad75fff520c281239375","4e3ab6678655e507463a9bfa1aa39a4a5497fac4c75e5f7f7a16c0b7d001c34a","970df0c17493242adf64547e7f0c288ded7fadad987947c40a19d067a1928a4a","4e3ab6678655e507463a9bfa1aa39a4a5497fac4c75e5f7f7a16c0b7d001c34a","70ed0b672fad1fd7c5fe38bd91c52f7602c9418b223edb30052dc41be75f5931","86cea374af4320065be9bdb9d11be0d10415182f45fd6414b573db4a42733bbe","4267864fb1a842fb932a7f2561faeda6715d3d27a02a221eadac16d9cf6faaa9","aa4e662a49c1efc0d7fd84fccb35573a495d64c60e111066507a610ba8c8526d",{"version":"09290ced758ab5b3fd5ea87e0b6a9ea786e26cba3ec5f5dd5375ced2405d6506","signature":"f388834b9025e82c7a40c016ec51b990c9d316d0a772fbae5e65048bc0043317"},"b2b2b4005a97e80093cb04005ef2df7305fbe574357b3eaff95b2c881d01e08b","7a1dd1e9c8bf5e23129495b10718b280340c7500570e0cfe5cffcdee51e13e48","95bf7c19205d7a4c92f1699dae58e217bb18f324276dfe06b1c2e312c7c75cf2",{"version":"ee1a7a9415e36134894205bf90d6eb4c444fda162e3ef5f35a4f5e3b0eb9d786","signature":"1268af798b35a24fe85eee78a113da99ec3c334416da2778d61f1a39a522b5a4"},"eca3fff33563dd2e8a664d32b8321737d856167ed4956078088f91d8e3b24efb","6da7ad9817fb0274b5d0fe10326de81fffb8086dd8c86358dfcb7ae7acdb497d","02d84b5fe10c8ca1deae2ea0466c45fde75d31859b98e744376503592035085d",{"version":"4eef4453fed952907f8ea7c96edde4719613920c2f8df69ad40634f164aca6a0","signature":"fe4c7db3cb02558832e1ad4f73b07827cc728a9f193b7594113d3a243f7a38cc"},"efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"674168aa3db414ea0a19b2a31d901b2d49705c7a495e43ffdc96928543010f8c","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447",{"version":"91512354f8ca683a0a760d8f7e4ecaa2418b58b0a007d864ba0013751f484a78","affectsGlobalScope":true}],"root":[79,108,110,138,139,142,146],"options":{"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"esModuleInterop":true,"jsx":4,"module":7,"noFallthroughCasesInSwitch":true,"noUnusedLocals":true,"outDir":"./esm","removeComments":false,"rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"fileIdsList":[[72],[140],[147],[150],[151,156,184],[152,163,164,171,181,192],[152,153,163,171],[154,193],[155,156,164,172],[156,181,189],[157,159,163,171],[150,158],[159,160],[163],[161,163],[150,163],[163,164,165,181,192],[163,164,165,178,181,184],[151,197],[159,163,166,171,181,192],[163,164,166,167,171,181,189,192],[166,168,181,189,192],[147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[163,169],[170,192,197],[159,163,171,181],[172],[173],[150,174],[175,191,197],[176],[177],[163,178,179],[178,180,193,195],[151,163,181,182,183,184],[151,181,183],[181,182],[184],[185],[150,181],[163,187,188],[187,188],[156,171,181,189],[190],[171,191],[151,166,177,192],[156,193],[181,194],[170,195],[196],[151,156,163,165,174,181,192,195,197],[181,198],[62,63,64],[65],[82],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106],[80],[121],[114],[113,115,117,118,122],[115,116,119],[113,116,119],[115,117,119],[113,114,116,117,118,119,120],[113,119],[115],[143,144],[143],[68,70],[68,69],[109,181],[111],[111,135],[135,136],[111,123],[123,124,125],[127],[73,111],[75],[73],[132],[130],[77],[66,67,71,74,76,79,108,109,110,112,122,126,128,129,131,133,134,137,165,173],[66,138],[66,78],[66,78,141],[66,78,145,164],[66,78,107],[66,109],[71,110],[78],[109]],"referencedMap":[[111,1],[141,2],[73,1],[147,3],[148,3],[150,4],[151,5],[152,6],[153,7],[154,8],[155,9],[156,10],[157,11],[158,12],[159,13],[160,13],[162,14],[161,15],[163,16],[164,17],[165,18],[149,19],[166,20],[167,21],[168,22],[200,23],[169,24],[170,25],[171,26],[172,27],[173,28],[174,29],[175,30],[176,31],[177,32],[178,33],[179,33],[180,34],[181,35],[183,36],[182,37],[184,38],[185,39],[186,40],[187,41],[188,42],[189,43],[190,44],[191,45],[192,46],[193,47],[194,48],[195,49],[196,50],[197,51],[198,52],[65,53],[66,54],[89,55],[107,56],[91,57],[103,55],[122,58],[115,59],[119,60],[117,61],[120,62],[118,63],[121,64],[114,65],[113,66],[145,67],[144,68],[71,69],[70,70],[109,71],[135,72],[136,73],[137,74],[125,75],[124,75],[123,72],[126,76],[128,77],[127,72],[134,78],[76,79],[75,80],[74,80],[133,81],[132,80],[131,82],[130,80],[112,78],[78,83],[77,1],[138,84],[139,85],[79,86],[142,87],[146,88],[108,89],[110,90]],"exportedModulesMap":[[111,1],[141,2],[73,1],[147,3],[148,3],[150,4],[151,5],[152,6],[153,7],[154,8],[155,9],[156,10],[157,11],[158,12],[159,13],[160,13],[162,14],[161,15],[163,16],[164,17],[165,18],[149,19],[166,20],[167,21],[168,22],[200,23],[169,24],[170,25],[171,26],[172,27],[173,28],[174,29],[175,30],[176,31],[177,32],[178,33],[179,33],[180,34],[181,35],[183,36],[182,37],[184,38],[185,39],[186,40],[187,41],[188,42],[189,43],[190,44],[191,45],[192,46],[193,47],[194,48],[195,49],[196,50],[197,51],[198,52],[65,53],[66,54],[89,55],[107,56],[91,57],[103,55],[122,58],[115,59],[119,60],[117,61],[120,62],[118,63],[121,64],[114,65],[113,66],[145,67],[144,68],[71,69],[70,70],[109,71],[135,72],[136,73],[137,74],[125,75],[124,75],[123,72],[126,76],[128,77],[127,72],[134,78],[76,79],[75,80],[74,80],[133,81],[132,80],[131,82],[130,80],[112,78],[78,83],[77,1],[138,91],[139,85],[79,92],[142,92],[146,92],[110,93]],"semanticDiagnosticsPerFile":[60,61,11,13,12,2,14,15,16,17,18,19,20,21,3,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,57,58,10,1,59,111,141,140,73,69,147,148,150,151,152,153,154,155,156,157,158,159,160,162,161,163,164,165,149,199,166,167,168,200,169,170,171,172,173,174,175,176,177,178,179,180,181,183,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,63,62,65,66,64,72,201,83,84,85,87,88,100,89,82,107,90,86,91,105,92,103,93,94,104,102,95,101,96,99,98,97,80,81,106,122,115,119,117,120,118,121,116,114,113,68,67,145,144,143,71,70,109,135,136,137,129,125,124,123,126,128,127,134,76,75,74,133,132,131,130,112,78,77,138,139,79,142,146,108,110],"latestChangedDtsFile":"./esm/remark/remark-img-to-jsx.d.ts"},"version":"5.3.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/markdown",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dagda1/cuttingedge.git"
@@ -14,21 +14,21 @@
14
14
  "format": "^0.2.2",
15
15
  "front-matter": "^4.0.2",
16
16
  "github-slugger": "^2.0.0",
17
- "esbuild": "^0.19.9",
18
- "image-size": "^1.0.2",
17
+ "esbuild": "^0.20.1",
18
+ "image-size": "^1.1.1",
19
19
  "js-yaml": "^4.1.0",
20
20
  "katex": "^0.16.9",
21
21
  "leva": "^0.9.35",
22
22
  "luxon": "^3.4.4",
23
- "maath": "^0.10.4",
23
+ "maath": "^0.10.7",
24
24
  "mathjax-full": "3.2.2",
25
25
  "mdast-util-to-markdown": "^2.1.0",
26
26
  "mdx-bundler": "^10.0.1",
27
27
  "reading-time": "^1.5.0",
28
28
  "rehype-citation": "^2.0.0",
29
29
  "rehype-highlight": "^7.0.0",
30
- "rehype-mathjax": "^5.0.0",
31
- "rehype-prism-plus": "^1.6.3",
30
+ "rehype-mathjax": "^6.0.0",
31
+ "rehype-prism-plus": "^2.0.0",
32
32
  "rehype-toc": "^3.0.2",
33
33
  "remark-autolink-headings": "^7.0.1",
34
34
  "remark-breaks": "^4.0.0",
@@ -41,16 +41,16 @@
41
41
  "remark-slug": "^7.0.1",
42
42
  "resize-observer-polyfill": "^1.5.1",
43
43
  "unist-util-visit": "^5.0.0",
44
- "@cutting/util": "4.58.6"
44
+ "@cutting/util": "4.58.8"
45
45
  },
46
46
  "devDependencies": {
47
- "@types/luxon": "^3.3.7",
48
- "eslint": "8.55.0",
47
+ "@types/luxon": "^3.4.2",
48
+ "eslint": "8.57.0",
49
49
  "typescript": "5.3.3",
50
- "@cutting/devtools": "4.63.5",
51
- "@cutting/eslint-config": "4.45.2",
52
- "@cutting/tsconfig": "4.40.4",
53
- "@cutting/useful-types": "4.40.2"
50
+ "@cutting/devtools": "4.63.6",
51
+ "@cutting/eslint-config": "4.45.4",
52
+ "@cutting/tsconfig": "4.40.5",
53
+ "@cutting/useful-types": "4.40.3"
54
54
  },
55
55
  "files": [
56
56
  "dist/**/*",