Skip to content

docs: document navPosition and one deck in several languages (2.1) - #11

Merged
erkamyaman merged 5 commits into
mainfrom
docs/2.1.0
Oct 24, 2026
Merged

erkamyaman merged 5 commits into
mainfrom
docs/2.1.0

Conversation

@erkamyaman

@erkamyaman erkamyaman commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Documents the two features of slide.ng 2.1.

  • navPosition: a new headmatter row, and a note in Shortcuts where the navigation bar is described. It is also listed under "Added in slide.ng" on the Slidev differences page.
  • One deck in several languages: the Interface language page now explains languages:. It covers the language menu in the bar, how slides are paired by number, and what a switch keeps and loses. The old one-build-per-language recipe stays as an option.
  • The language button is added to the list of bar buttons. The languages headmatter row is added.
  • --lang in the CLI reference and the export guide now says what it does with languages, including export --lang tr.

The samples were checked with a build of slide.ng main: a deck with navPosition: top-right and languages in Chromium (menu, switch, reload at the same address) and export --lang tr.

Checks: prettier --check ., vite build, check:dist (no broken links), check:landing and vitest run (161 tests) pass. The Cloudflare preview check fails on main too.

Merge after @slide-ng/core 2.1.0 is on npm.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
0818e37 2026-10-24T10:38:42.579Z View logs ↗

@erkamyaman
erkamyaman merged commit e55d310 into main Oct 24, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant