Skip to content

Conversation

EdwardAngert
Copy link
Contributor

@EdwardAngert EdwardAngert commented Nov 20, 2024

adds snippets to make some of the docs markdown components a little easier to use

  • wraps selected text where it seems appropriate
  • limits code block languages (these are suggestions, you can choose from the list or enter anything)

tabs example:

tabs gif

@EdwardAngert EdwardAngert added the docs Area: coder.com/docs label Nov 20, 2024
@EdwardAngert EdwardAngert self-assigned this Nov 20, 2024
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not familiar with how these snippets work but trust your suggestions.

Does these require some specific extension or are a native vscode feature?

@EdwardAngert
Copy link
Contributor Author

@matifali native!

it should work as-is. I have it set to call with something like #tabs, but you can also use the VSCode built-in Suggestions thing with CTRL+space to bring up the whole list

@EdwardAngert EdwardAngert enabled auto-merge (squash) November 21, 2024 22:08
@EdwardAngert EdwardAngert merged commit 684e75e into main Nov 21, 2024
21 checks passed
@EdwardAngert EdwardAngert deleted the docs-md-code-snippets branch November 21, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Area: coder.com/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants