Skip to content

📃 Fix example to work better with deno doc and lsp#875

Merged
cowboyd merged 1 commit intov3from
example-fixes
Jan 2, 2024
Merged

📃 Fix example to work better with deno doc and lsp#875
cowboyd merged 1 commit intov3from
example-fixes

Conversation

@cowboyd
Copy link
Copy Markdown
Member

@cowboyd cowboyd commented Jan 2, 2024

Motivation

The examples in the docs were not rendering properly on the deno doc site, and also inside the LSP for a number of reasons.

Borked language highlighting:

image

Captions don't seem to work

image

Approach

This normalizes how examples are identified:

  • use fully qualified language name. I.e. "javascript" instead of "js"
  • remove any captions

The examples in the docs were not rendering properly on the deno doc
site, and also inside the LSP for a number of reasons.

This normalizes how examples are identified:

- use fully qualified language name. I.e. "javascript" instead of "js"
- remove any captions
@cowboyd cowboyd merged commit b8f8c44 into v3 Jan 2, 2024
@cowboyd cowboyd deleted the example-fixes branch January 2, 2024 20:54
taras pushed a commit that referenced this pull request Nov 12, 2025
📃 Fix example to work better with deno doc and lsp
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.

2 participants