summaryrefslogtreecommitdiff
path: root/packages/markdown-support/src/load-plugins.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-03Import unified types as unified since there is no default export for ↵Gravatar Caleb Jasik 1-1/+1
'unified'. (#1296)
2021-08-25Upgrade unified deps and improve unified plugins types (#1200)Gravatar Robin Métral 1-1/+1
* Upgrade @astrojs/markdown-support deps and update types * Add changeset * Update changeset * Switch astro-markdown-plugins example to use rehype-autolink-headings Usage of remark-autolink-headings is discouraged in favor of the rehype counterpart: https://github.com/remarkjs/remark-autolink-headings\#remark-autolink-headings * Add stricter types for unified plugins This includes a few suggestions from a code review: - use vfile.toString instead of vfile.value.toString - refactor plugins to follow unified best practices instead of returning functions that return a plugin - use any instead of any[] for plugin options types * Narrow down types to more specific hast or mdast typings
2021-07-07[ci] yarn formatGravatar natemoo-re 1-3/+3
2021-07-01Remark and rehype plugins (#562)Gravatar Pavel Mineev 1-0/+27
* remark plugins * remove unused dependency * enable codeblocks * backward compatibility with remark-code-titles * add support for rehype plugins * add proper types for plugins * fixes after review - connect plugins by name - make plugins configurable - connect gfm and footnotes if no plugins provided from config - add more plugins to example * update and rename example * add documentation for markdown plugins * chore: rename with-markdown-plugins example * chore: restructure dependencies * feat: add back smartypants, fix mdx expressions * chore: remove log * test: add markdown plugin tests * chore: add changeset * docs: update markdown doc Co-authored-by: Nate Moore <nate@skypack.dev>
3' height='13' alt='Gravatar' /> Fred K. Schott 5-352/+65 2021-11-18fix #1778Gravatar Fred K. Schott 2-1/+8 2021-11-18Update compiler (#1869)Gravatar Nate Moore 3-11/+6 2021-11-18remove unused remark dependency (#1894)Gravatar Fred K. Schott 2-245/+13 2021-11-18Improve error messages (#1875)Gravatar Drew Powers 39-61/+448 2021-11-18pin astro compiler to older versionGravatar Fred K. Schott 2-5/+5 2021-11-18Update yarn.lock to reflect the state of the package.json files (#1892)Gravatar Jonathan Neal 5-1300/+1000 2021-11-19[ci] yarn formatGravatar FredKSchott 1-5/+3