astro/packages/markdown/remark
Ben Holmes 399d7e2698
Fix: use set:html when markdown mode is md (#4008)
* refactor: add legacy.jsxInMarkdown flag to config

* fix: use `set:html` when `markdown.mode` is 'md'

* Revert "refactor: add legacy.jsxInMarkdown flag to config"

This reverts commit 5572e8d9b3.

* fix: move `remarkUnwrap, remarkEscape` to MDX only

* fix: only apply scary HTML passthroughs on MDX

* fix: move all JSX-specific rehype plugins under `isMDX`

* fix: "allowDangerousHtml" for md (required for Shiki)

* fix: apply `set:html` for non-layouts too

* test: JSX expressions, components, syntax highlighting

* chore: changeset

* fix: ignore "setup" and "components" in plain MD mode

* refactor: create new fixture to avoid weird caching error

* fix: dup package name

* chore: update lock

* fix: apply rehypeCollectHeaders to md
2022-07-21 18:01:26 -04:00
..
src Fix: use set:html when markdown mode is md (#4008) 2022-07-21 18:01:26 -04:00
test Removes trailing dash from generated slugs in markdown (#3044) 2022-07-18 22:21:56 -07:00
CHANGELOG.md [ci] release (#3939) 2022-07-18 21:54:25 -07:00
package.json [ci] release (#3939) 2022-07-18 21:54:25 -07:00
tsconfig.json Support Node v14.15+ (#2202) 2021-12-16 18:53:22 -05:00