* Replaced `shikiTheme` with `shikiConfig`
* Code.astro now accepts custom themes/langs
* Updated docs
* Updated tests
* Fixed language loading
* Added customization examples
* Updated documentation
* Added more tests
* Changelogs
* Changed some spaces to tabs
* Fixed typo in changesets
* Moved tests fixtures
* Rolled back changes to with-markdown-shiki
* Removed lang example in docs
* Optimized Code component
* Try to fix windows errors
* Try to see if this new tests work
* [ci] yarn format
* Added shiki to markdown-remark
* Upgraded astro shiki
* Added minimal example
* Changed defaults to match <Code />
* Replace `shiki` with `astro` classes
* Added documentation
* Updated Astro code to use new `codeToHtml`
* Added changesets
* Added basic test
* Updated tests a bit
Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
* doc: fix Astro components link
* doc: does not include a trailing slash
Co-authored-by: Evan Boehs <evan@boehs.org>
Co-authored-by: Evan Boehs <evan@boehs.org>
* add logos for github dark mode
* Hot fix (gh-*-mode-only) issue
"that's an issue with wrapping an image in a link. We are currently still looking into how to best solve this. However, you can do the following which should work."
- dipree
* delete <td> 'cuz it was duplicate
* [ci] yarn format
* remove unnecessary code tag
Co-authored-by: X7md <X7md@users.noreply.github.com>
* Fix visibility of focused skip link on docs site
The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused.
* Fix visibility of focused skip link in docs example project
Apply the same fix as ac890b56 to the same component in the docs starter project.
The path denoted in the markdown sample code is
src/pages/index.md
Thus, to refer to a layout component in src/layouts,
we should use ../layouts/ instead of ../../layouts/.
* Move english pages under `/en` and fix broken links hopefully
* Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js
* update languageselect for new en format
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
* Make wording around `client:*` directives more clear
A friend and I both found the wording on this page to be a touch ambiguous. When does the renderer JS download? Does Astro really delay all JS downloading until the component is ready to be hydrated, or just the component JS?
I think these changes make the behavior crystal clear?
* Make tense consistent for `client:only`
* Create styling.md
First translation for German docs.
* Update config.ts
Activating link to German docs - Guides/Styling & CSS
* Update styling.md
Missing text link to de/ - fixed
* Update docs/src/pages/de/guides/styling.md
Adds missing comma
Co-authored-by: Kim Schneider <web@schneider.kim>
* Update docs/src/pages/de/guides/styling.md
Spelling correction
Co-authored-by: Kim Schneider <web@schneider.kim>
* Update docs/src/pages/de/guides/styling.md
Removes extra space
Co-authored-by: Kim Schneider <web@schneider.kim>
* Update docs/src/pages/de/guides/styling.md
Removes superfluous comma
Co-authored-by: Kim Schneider <web@schneider.kim>
* Update docs/src/pages/de/guides/styling.md
Phrases suggestion more friendly)))
Co-authored-by: Kim Schneider <web@schneider.kim>
Co-authored-by: Kim Schneider <web@schneider.kim>
* Update astro-components.md
be a little clearer right up front about what you can do
I ran this code in stackBlitz minimal - which listed no renders.
Note: I don't know enough yet about Astro to say why I could use React-style interpolation at compile time to insert a variable into the html -- so I can't add a phrase describing why it works...
* Update docs/src/pages/core-concepts/astro-components.md
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>