summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-11-14Refactor shikiji syntax highlighting code (#9083)Gravatar Bjorn Lu 1-1/+24
2023-11-08Light/dark theming for shikiji's codeblocks (#8903)Gravatar horo 1-3/+21
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-04[ci] formatGravatar bluwy 1-7/+3
2023-10-04Fixes: Shiki syntax highlighting adds is:raw attribute to the HTML output ↵Gravatar Chris 1-0/+16
(#8715) Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-14Improve markdown rendering performance (#8532)Gravatar Bjorn Lu 5-43/+38
2023-09-13feat(markdown): Add support for `imageReference` paths when collecting ↵Gravatar Lars Kappert 2-0/+29
images (#8475)
2023-01-11[Content collections] Remove experimental flag (#5825)Gravatar Ben Holmes 4-4/+20
* refactor: remove experimental.cc from core * chore: remove experimental flag from tests * fix: mock contentDir in remark tests * fix: check vfile.path in rel-image-error plugin * fix: move .astro/ excludes to all test/fixtures * fix: include test/**/fixtures in ignore * chore: changeset
2023-01-09Remove Astro-flavored Markdown from `@astrojs/markdown-remark` (#5785)Gravatar Chris Swithinbank 5-387/+1
2022-08-05[ci] formatGravatar hippotastic 1-7/+4
2022-08-05Fix double-escaping of non-highlighted code blocks in Astro-flavored ↵Gravatar hippotastic 1-4/+18
markdown (#4169)
2022-07-26Add tests for markdown content escaping (#4058)Gravatar Matthew Phillips 1-0/+12
2022-07-22[ci] formatGravatar tony-sull 2-20/+17
2022-07-22Feat: new `legacy.astroFlavoredMarkdown` flag (#4016)Gravatar Ben Holmes 4-117/+139
* refactor: add legacy.jsxInMarkdown flag to config * refactor: jsxInMarkdown -> astroFlavoredMarkdown * refactor: remove `markdown.mode` * feat: wire up legacy.astroFlavoredMarkdown * test: add legacy to astro-markdown fixture * test: remark autolinking * test: remark components * test: remark expressions * test: remark strictness * chore: remove "mode" from md component * chore: remove "mode: md" from tests * Fixing legacy MD tests, adding named slots tests for MDX pages * chore: update lock file * WIP: debugging named slots in MDX * fix: handle named slots in MDX properly * chore: re-enabling slots tests for MDX pages * fixing test validation for svelte & vue * removing unused Tailwind test * legacy flag for Markdown component tests * adding is:raw to Markdown component test * adding is:raw to all Markdown component test fixtures * can't use is:raw when nesting markdown components * another nested test can't use is:raw * one more <Markdown> test fix * fixing another JSX markdown component test * chore: add changeset * e2e tests were missing the legacy flag * removing the broken tailwind E2E markdown page Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com> Co-authored-by: Nate Moore <nate@astro.build>
2022-07-18Removes trailing dash from generated slugs in markdown (#3044)Gravatar Rafid Muhymin Wafi 1-1/+1
* fixed header slugs in markdown if ends with a dash * added changeset * removes trailing dash only if slug was created * updated test * updated change level from patch to minor
2022-07-18Revert "Removes trailing dash from generated slugs in markdown (#3044)"Gravatar Fred K. Schott 1-1/+1
This reverts commit 8530cce14f9953e0e5d6b12807720e62b9b5cf1f.
2022-07-18Revert "Revert "Removes trailing dash from generated slugs in markdown (#3044)""Gravatar Fred K. Schott 1-1/+1
This reverts commit 7160bbeedead315a796cdb8b601a5859d5c3f4d7.
2022-07-18Revert "Removes trailing dash from generated slugs in markdown (#3044)"Gravatar Fred K. Schott 1-1/+1
This reverts commit 8530cce14f9953e0e5d6b12807720e62b9b5cf1f.
2022-07-16Removes trailing dash from generated slugs in markdown (#3044)Gravatar Rafid Muhymin Wafi 1-1/+1
* fixed header slugs in markdown if ends with a dash * added changeset * removes trailing dash only if slug was created * updated test * updated change level from patch to minor
2022-06-20[ci] formatGravatar tony-sull 1-7/+3
2022-06-20Encode ampersands in markdown code blocks (#3630)Gravatar Tony Sullivan 1-1/+28
* encode ampersands in markdown code blocks * chore: add changeset * nit: fixing test case description
2022-06-20[ci] formatGravatar tony-sull 1-4/+2
2022-06-20Fixes rendering of HTML comments inside markdown code blocks (#3638)Gravatar Tony Sullivan 1-0/+20
* JS comment wrappers should be removed from HTML comments in code blocks * chore: add changeset
2022-06-17Remove extra newlines around Markdown components (#3620)Gravatar hippotastic 2-4/+4
2022-06-10[ci] formatGravatar natemoo-re 1-17/+13
2022-06-09Fix autolinking of URLs inside links in Markdown (#3564)Gravatar hippotastic 1-0/+96
2022-06-08[ci] formatGravatar natemoo-re 1-58/+17
2022-06-08Allow AlpineJS syntax extensions in Markdown (#3554)Gravatar hippotastic 1-0/+122
* Allow AlpineJS syntax extensions in Markdown * Remove unwanted MDX ESM import/export support
2022-06-03[ci] formatGravatar natemoo-re 1-4/+6
2022-06-03Fix: Allow self-closing tags in Markdown (#3516)Gravatar hippotastic 1-0/+16
2022-06-03Fix cases for JSX-like expressions in code blocks of headings (#3502)Gravatar nokazn 1-1/+32
* chore: fix typo in remark tests * test: add test cases for markdown expressions in header * fix: avoid evaluating JSX-like expressions inside inline code in heading * fix: generate slug for id including values in backtick blocks
2022-05-31[ci] formatGravatar natemoo-re 1-8/+2
2022-05-31Fix components in markdown regressions (#3486)Gravatar hippotastic 2-3/+14
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-05-24[ci] formatGravatar natemoo-re 3-13/+33
2022-05-24Improve Markdown + Components usage (#3410)Gravatar Nate Moore 3-0/+128
* feat: use internal MDX tooling for markdown + components * fix: improve MD + component tests * chore: add changeset * fix: make tsc happy * fix(#3319): add regression test for component children * fix(markdown): support HTML comments in markdown * fix(#2474): ensure namespaced components are properly handled in markdown pages * fix(#3220): ensure html in markdown pages does not have extra surrounding space * fix(#3264): ensure that remark files pass in file information * fix(#3254): enable experimentalStaticExtraction for `.md` pages * fix: revert parsing change * fix: remove `markdown.mode` option