Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: withastro/starlight
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @astrojs/starlight@0.32.2
Choose a base ref
...
head repository: withastro/starlight
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @astrojs/starlight@0.32.3
Choose a head ref

Commits on Mar 3, 2025

  1. i18n(ru): update some translations (#2933)

    * Update ru/guides/authoring-content.mdx
    
    * Update ru/guides/css-and-tailwind.mdx
    
    * Update ru/guides/sidebar.mdx
    
    * Update ru/reference/frontmatter.md
    
    * Update ru/resources/community-content.mdx
    
    * Update ru/resources/plugins.mdx
    
    * Add ru/resources/themes.mdx
    dragomano authored Mar 3, 2025
    Copy the full SHA
    f2123a1 View commit details
  2. Copy the full SHA
    10b93b3 View commit details
  3. [ci] release (#2934)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    astrobot-houston and github-actions[bot] authored Mar 3, 2025
    Copy the full SHA
    929b778 View commit details

Commits on Mar 4, 2025

  1. Copy the full SHA
    2b26ac9 View commit details
  2. i18n(ko-KR): update authoring-content.mdx (#2938)

    * i18n(ko-KR): update `authoring-content.mdx`
    
    * Update docs/src/content/docs/ko/guides/authoring-content.mdx
    
    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    jsparkdev and trueberryless authored Mar 4, 2025
    Copy the full SHA
    c1ac7e9 View commit details
  3. [ci] format

    jsparkdev authored and astrobot-houston committed Mar 4, 2025
    Copy the full SHA
    6d0397c View commit details
  4. i18n(fr): update guides/authoring-content (#2936)

    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    Co-authored-by: ArmandPhilippot <59021693+ArmandPhilippot@users.noreply.github.com>
    3 people authored Mar 4, 2025
    Copy the full SHA
    370e807 View commit details
  5. Copy the full SHA
    ae4de13 View commit details

Commits on Mar 5, 2025

  1. Copy the full SHA
    8d89aa8 View commit details
  2. i18n(zh-cn): Update configuration.mdx (#2941)

    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    liruifengv and HiDeoo authored Mar 5, 2025
    Copy the full SHA
    dcc4e59 View commit details
  3. [ci] format

    HiDeoo authored and astrobot-houston committed Mar 5, 2025
    Copy the full SHA
    d512572 View commit details
  4. i18n(zh-cn): Update guides/authoring-content.mdx (#2943)

    * i18n(zh-cn): Update `guides/authoring-content.mdx`
    
    * docs: fix formatting
    
    ---------
    
    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    liruifengv and HiDeoo authored Mar 5, 2025
    Copy the full SHA
    4253527 View commit details
  5. [ci] format

    HiDeoo authored and astrobot-houston committed Mar 5, 2025
    Copy the full SHA
    9b59176 View commit details
  6. i18n(zh-cn): Update resources/plugins.mdx (#2942)

    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    liruifengv and HiDeoo authored Mar 5, 2025
    Copy the full SHA
    b54f111 View commit details
  7. [ci] format

    HiDeoo authored and astrobot-houston committed Mar 5, 2025
    Copy the full SHA
    6688c5c View commit details

Commits on Mar 11, 2025

  1. showcase addition (#2945)

    Co-authored-by: ArkadianNZ <jansenfamilycreative@gmail.com>
    AFK-Labs and ArkadianNZ authored Mar 11, 2025
    Copy the full SHA
    05c70f4 View commit details

Commits on Mar 14, 2025

  1. Copy the full SHA
    aef2dab View commit details
  2. [ci] format

    delucis authored and astrobot-houston committed Mar 14, 2025
    Copy the full SHA
    c411c75 View commit details

Commits on Mar 16, 2025

  1. i18n(ko-KR): update plugins.mdx (#2965)

    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    jsparkdev and trueberryless authored Mar 16, 2025
    Copy the full SHA
    df6ad92 View commit details
  2. [ci] format

    jsparkdev authored and astrobot-houston committed Mar 16, 2025
    Copy the full SHA
    5ca54fb View commit details
  3. i18n(de): update plugins.mdx (#2964)

    Co-authored-by: jsparkdev <39112954+jsparkdev@users.noreply.github.com>
    trueberryless and jsparkdev authored Mar 16, 2025
    Copy the full SHA
    d7868c1 View commit details
  4. i18n(fr): update resources/plugins (#2963)

    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    Co-authored-by: jsparkdev <39112954+jsparkdev@users.noreply.github.com>
    3 people authored Mar 16, 2025
    Copy the full SHA
    7ebae65 View commit details

Commits on Mar 18, 2025

  1. feat: add some IDE and Design app icons (#2955)

    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
    3 people authored Mar 18, 2025
    Copy the full SHA
    77b6a41 View commit details
  2. feat: add editor icons (#2961)

    Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    3 people authored Mar 18, 2025
    Copy the full SHA
    da57fab View commit details
  3. [ci] release (#2968)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
    3 people authored Mar 18, 2025
    Copy the full SHA
    9375aef View commit details
Showing with 1,076 additions and 173 deletions.
  1. BIN docs/src/assets/showcase/learnaiso.com.png
  2. +1 −0 docs/src/components/showcase-sites.astro
  3. +142 −0 docs/src/content/docs/de/guides/authoring-content.mdx
  4. +5 −0 docs/src/content/docs/de/resources/plugins.mdx
  5. +142 −0 docs/src/content/docs/fr/guides/authoring-content.mdx
  6. +5 −0 docs/src/content/docs/fr/resources/plugins.mdx
  7. +142 −0 docs/src/content/docs/guides/authoring-content.mdx
  8. +146 −4 docs/src/content/docs/ko/guides/authoring-content.mdx
  9. +5 −0 docs/src/content/docs/ko/resources/plugins.mdx
  10. +5 −0 docs/src/content/docs/resources/plugins.mdx
  11. +1 −1 docs/src/content/docs/ru/guides/authoring-content.mdx
  12. +2 −0 docs/src/content/docs/ru/guides/css-and-tailwind.mdx
  13. +2 −0 docs/src/content/docs/ru/guides/sidebar.mdx
  14. +1 −1 docs/src/content/docs/ru/reference/frontmatter.md
  15. +1 −1 docs/src/content/docs/ru/resources/community-content.mdx
  16. +15 −42 docs/src/content/docs/ru/resources/plugins.mdx
  17. +76 −0 docs/src/content/docs/ru/resources/themes.mdx
  18. +142 −0 docs/src/content/docs/zh-cn/guides/authoring-content.mdx
  19. +2 −0 docs/src/content/docs/zh-cn/guides/css-and-tailwind.mdx
  20. +19 −1 docs/src/content/docs/zh-cn/reference/configuration.mdx
  21. +9 −26 docs/src/content/docs/zh-cn/resources/plugins.mdx
  22. +1 −1 examples/basics/package.json
  23. +2 −2 examples/markdoc/package.json
  24. +1 −1 examples/tailwind/package.json
  25. +29 −0 packages/markdoc/CHANGELOG.md
  26. +128 −84 packages/markdoc/__tests__/markdoc.test-d.ts
  27. +28 −3 packages/markdoc/index.mjs
  28. +1 −1 packages/markdoc/package.json
  29. +8 −0 packages/starlight/CHANGELOG.md
  30. +10 −0 packages/starlight/components/Icons.ts
  31. +1 −1 packages/starlight/package.json
  32. +4 −4 pnpm-lock.yaml
Binary file added docs/src/assets/showcase/learnaiso.com.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/src/components/showcase-sites.astro
Original file line number Diff line number Diff line change
@@ -187,4 +187,5 @@ import FluidGrid from './fluid-grid.astro';
href="https://accessible-astro.incluud.dev"
thumbnail="accessible-astro.incluud.dev.png"
/>
<Card title="Learn AISO" href="https://learnaiso.com" thumbnail="learnaiso.com.png" />
</FluidGrid>
142 changes: 142 additions & 0 deletions docs/src/content/docs/de/guides/authoring-content.mdx
Original file line number Diff line number Diff line change
@@ -246,6 +246,10 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
}
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```js {2-3}
function demo() {
@@ -255,6 +259,23 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```js {% meta="{2-3}" %}
function demo() {
// Diese Zeile (#2) und die nächste Zeile sind hervorgehoben
return 'Dies ist Zeile #3 dieses Ausschnittes';
}
```
````

</TabItem>

</Tabs>

- [Markieren von Textabschnitten mit der Markierung `" "` oder regulären Ausdrücken](https://expressive-code.com/key-features/text-markers/#marking-individual-text-inside-lines):

```js "einzelne Begriffe" /Auch.*unterstützt/
@@ -264,6 +285,10 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
}
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```js "einzelne Begriffe" /Auch.*unterstützt/
// Auch einzelne Begriffe können hervorgehoben werden
@@ -273,6 +298,23 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```js {% meta="'einzelne Begriffe' /Auch.*unterstützt/" %}
// Auch einzelne Begriffe können hervorgehoben werden
function demo() {
return 'Auch reguläre Ausdrücke (RegEx) werden unterstützt';
}
```
````

</TabItem>

</Tabs>

- [Text oder Zeilen mit `ins` oder `del` als eingefügt oder gelöscht markieren](https://expressive-code.com/key-features/text-markers/#selecting-inline-marker-types-mark-ins-del):

```js "return true;" ins="eingefügte" del="gelöschte"
@@ -283,6 +325,10 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
}
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```js "return true;" ins="eingefügte" del="gelöschte"
function demo() {
@@ -293,6 +339,24 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```js {% meta="'return true;' ins='eingefügte' del='gelöschte'" %}
function demo() {
console.log('Dies sind eingefügte und gelöschte Markertypen');
// Die return-Anweisung verwendet den Standard-Markierungstyp
return true;
}
```
````

</TabItem>

</Tabs>

- [Kombiniere die Syntaxhervorhebung mit einer `diff`-ähnlichen Syntax](https://expressive-code.com/key-features/text-markers/#combining-syntax-highlighting-with-diff-like-syntax):

```diff lang="js"
@@ -304,6 +368,10 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
}
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```diff lang="js"
function thisIsJavaScript() {
@@ -315,6 +383,25 @@ Einige der gebräuchlichsten Beispiele sind unten aufgeführt:
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```diff {% meta="lang='js'" %}
function thisIsJavaScript() {
// Dieser gesamte Block wird als JavaScript hervorgehoben,
// und wir können ihm immer noch Diff-Markierungen hinzufügen!
- console.log('Zu entfernender alter Code')
+ console.log('Neuer, glänzender Code!')
}
```
````

</TabItem>

</Tabs>

#### Rahmen und Überschriften

Codeblöcke können innerhalb eines fensterähnlichen Rahmens dargestellt werden.
@@ -330,37 +417,92 @@ Der optionale Titel eines Code-Blocks kann entweder mit einem `title="..."`-Attr
console.log('Hallo Welt!');
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```js
// meine-test-datei.js
console.log('Hallo Welt!');
```
````

</TabItem>

<TabItem label="Markdoc">

````md
```js
// meine-test-datei.js
console.log('Hallo Welt!');
```
````

</TabItem>

</Tabs>

- [Hinzufügen eines Titels zu einem Terminalfenster](https://expressive-code.com/key-features/frames/#terminal-frames)

```bash title="Installieren von Abhängigkeiten…"
npm install
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```bash title="Installieren von Abhängigkeiten…"
npm install
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```bash {% title="Installieren von Abhängigkeiten…" %}
npm install
```
````

</TabItem>

</Tabs>

- [Fensterrahmen mit `frame="none"` deaktivieren](https://expressive-code.com/key-features/frames/#overriding-frame-types)

```bash frame="none"
echo "Dies wird trotz Verwendung der Bash-Sprache nicht als Terminal dargestellt"
```

<Tabs syncKey="content-type">

<TabItem label="Markdown/MDX">

````md
```bash frame="none"
echo "Dies wird trotz Verwendung der Bash-Sprache nicht als Terminal dargestellt"
```
````

</TabItem>

<TabItem label="Markdoc">

````markdoc
```bash {% frame="none" %}
echo "Dies wird trotz Verwendung der Bash-Sprache nicht als Terminal dargestellt"
```
````

</TabItem>

</Tabs>

## Details

Details (auch bekannt als „Offenlegungen“ oder „Akkordeons“) sind nützlich, um Inhalte zu verbergen, die nicht unmittelbar relevant sind.
5 changes: 5 additions & 0 deletions docs/src/content/docs/de/resources/plugins.mdx
Original file line number Diff line number Diff line change
@@ -133,6 +133,11 @@ Erweitere deine Website mit offiziellen Plugins, die vom Starlight-Team unterst
title="starlight-view-transitions"
description="Hinzufügen von browser-nativen, dokumentations&shy;übergreifenden Ansichtsübergängen."
/>
<LinkCard
href="https://github.com/HiDeoo/starlight-auto-sidebar"
title="starlight-auto-sidebar"
description="Modifiziere deine automatisch generierten Seitenleistengruppen."
/>
</CardGrid>

## Community-Tools und Integrationen
Loading