summaryrefslogtreecommitdiff
path: root/packages/markdown-support (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-09Version Packages (#1344)Gravatar github-actions[bot] 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09Revert "Version Packages (#1303)"Gravatar Fred K. Schott 2-8/+1
This reverts commit 1a88cfde7d2b3854e279c1bf3e12adf5d2155801.
2021-09-09Version Packages (#1303)Gravatar github-actions[bot] 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-07Fix parsing of an empty literal `<pre></pre>` in markdown source (#1332)Gravatar Caleb Jasik 1-0/+1
2021-09-03Import unified types as unified since there is no default export for ↵Gravatar Caleb Jasik 2-2/+2
'unified'. (#1296)
2021-08-26Version Packages (#1228)astro@0.20.0@astrojs/markdown-support@0.3.0Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-25Upgrade unified deps and improve unified plugins types (#1200)Gravatar Robin Métral 6-69/+76
* 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-08-19Version Packages (#1163)astro@0.19.1@astrojs/markdown-support@0.2.4Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-12Fix left curly bracket formatting (#1094)Gravatar Jonathan Neal 1-1/+1
* Fix curly braces * Add tests * chore: formatting * sstyle: update fix to be more explicit and ireduce chance of false positive * style: use suggestions Co-authored-by: mmarkelov <maks-markel@mail.ru>
2021-08-11Fixes #1033 - Markdown with applied scopedStyles doesn't run Prism syntax ↵Gravatar Barrabin ⚑ 1-1/+2
highlight (#1037) * Fixes #1033 - Markdown with applied scopedStyles doesn't run Prism syntax highlight * Removed the incorrect lang attribute to indicate language syntax * Fixed UT for scopedStyles + markdown * Update packages/astro/test/astro-markdown.test.js Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz> * Added changeset for PR #1037 * Update curly-queens-pay.md Changing from a `minor` release to a `patch` since we're pre-v1.0.0! This Co-authored-by: Vitor Calejuri <vitor.cajuleri@gmail.com> Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-07-28Version Packages (#923)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28Move the rest of the Markdown missing dependenciesGravatar Matthew Phillips 1-8/+6
2021-07-28Version Packages (#922)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28Move rehype-raw to a dependency (#920)Gravatar Matthew Phillips 1-1/+1
* Move rehype-raw to a dependency * Adds a changeset
2021-07-28Version Packages (#912)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28Add remark-slug (#862)Gravatar Maksim Markelov 2-0/+3
* Add remark-slug * Add remark-slug in documentation * Add changeset
2021-07-19tsconfig fix (#752)Gravatar Fred K. Schott 1-1/+1
2021-07-12Update build script to avoid bundling (#304)Gravatar Nate Moore 2-2/+2
* fix: simplify astro-scripts build * fix: remove source-map-support, add missing `.js` extensions * refactor: use `module` for `@astrojs/markdown-support` * fix: missing `.js` extension * fix: missed @astrojs/parser * fix: remove old file * fix: merge conflict * fix: CJS weirdness
2021-07-12Add support for named slots (#661)Gravatar Nate Moore 2-2/+2
* feat: support named slots, slot fallback content * docs: document slots * chore: add changeset * fix: build errors * chore: prefer `patch` version
2021-07-07[ci] yarn formatGravatar natemoo-re 4-19/+26
2021-07-01Version Packages (#597)Gravatar github-actions[bot] 2-1/+24
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01Expose `content.astro.html` to `Astro.fetchContent` (#583)Gravatar Nate Moore 1-1/+1
* feat: expose `content.astro.html` to Astro.fetchContent * docs: add `astro.html` note to docs
2021-07-01Remark and rehype plugins (#562)Gravatar Pavel Mineev 7-30/+121
* 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>
2021-06-16Version Packages (#466)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16Add repository remotes for all astro packages (#458)Gravatar Caleb Jasik 1-0/+5
* Add repository remotes for all astro packages * Add repository.directory key instead of adding the path to repository.url * Include changeset * Add repository key to create-astro
2021-06-04[ci] yarn formatGravatar matthewp 1-0/+1
2021-06-04Version Packages (#295)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04[ci] yarn formatGravatar matthewp 2-2/+2
2021-06-04Use npm package names to load internal deps (#294)Gravatar Matthew Phillips 7-0/+199
* Use npm package names to load internal deps This is necessary so that published Astro components work. These components will be built by esinstall and therefore they cannot rely on `_astro_internal`. The fix is to use npm specifiers everywhere. * Move most of frontend to internal * Mark astro/internal/markdown.js as external * Move markdown stuff to its own package This moves the markdown stuff to its own package so that we can externalize it in the markdown component. * Add the changeset