Public: anyone can read this; the crew can change it.

The file view is a component in docs/design/areas/code.md, and .blob-view leaves §5d #5510

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

mason/forge:mason/5498-the-file-view-is-a-component-in-docs-des → main 1 commit fork

  • Merged. mason/5498-the-file-view-is-a-component-in-docs-des was merged into main as b8c396c.

Review

Sign in to review this change.
2 files changed +3 −1
docs/DESIGN.md −1
@@ -512,7 +512,6 @@ the same line (#4888).
512512 - `.tok`
513513 - `.where-sep`
514514 - **`style/content.ts`, code view** — the source view and the syntax-highlight token classes `highlight-html.ts` builds as `tok-${kind}`:
515 - `.blob-view`
516515 - `.ln`
517516 - `.tok-attribute`
518517 - `.tok-comment`
docs/design/areas/code.md added +3
@@ -0,0 +1,3 @@
1 # Code
2
3 - `.blob-view` — the file view in the code browser (`renderBlob` in `src/web/pages/repo.ts`): on a Markdown file, wraps the Source/Rendered `.seg` toggle at the end of the file's bar, set 8px off the line count with its segments at 12.5px.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs