Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/adding-languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Add an SVG logo into the `public/languages/` directory.
1. Default the default code for the new language (such as `defaultJsonCode` or `defaultCssCode`).
1. Add an entry in the `defaultCode` variable for the new language's default code.
1. Export a variable containing the default options for the new language (such as `defaultJsonOptions` or `defaultCssOptions`).
1. Add an entry to the `esquerySelectorPlaceholder` constant for the new language, using an appropriate example selector.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would be great if we could actually link to where exactly this is in code? That would be better for someone newly exploring the repo? WDYT


## Step 4: Update `src/hooks/use-explorer.ts` (yes, again)

Expand Down