Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for the
mdsvex
language, a Markdown preprocessor for Svelte. At the time of writing, a search returns 4.1kmdsvex
files hosted on GitHub: https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.svx+NOT+%2F%5CA%28%3B%7C%5C*%5B%5E*%5D%2B%24%29%2FAdds support for the Survex data format, a plaintext data file format used for mapping caves. At the time of writing, a search returns 2.4k Survex data files hosted on GitHub: https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.svx+%2F%5CA%28%3B%7C%5C*%5B%5E*%5D%2B%24%29%2F
Adds a heuristic to distinguish Survex data and
mdsvex
files.Description
No grammar or LSP for
mdsvex
exists yet. Progress for these is tracked in pngwn/MDsveX#121. For code editors, files can best be marked as Markdown.No grammar or LSP for Survex data files exists (yet).
Sample for
mdsvex
is taken fromsveltesociety.dev
, licenced under the MIT License.Sample for Survex data is taken from the Philippine Surveys from the BEC expedition 2015, in particular a temporary data file created by Therion during the mapping of the Romeo cave, licenced under the Creative Commons Zero v1.0 Universal licence.
mdsvex
colour was chosen to be identical to the primary accent colour of themdsvex
websiteSurvex data colour was chosen to be identical to the background colour of the navigation bar of the Survex website.
The following RegEx is used to distinguish Survex data files. All files which do not match this are assumed to be
mdsvex
files.Checklist:
I have included a syntax highlighting grammarmdsvex
: no grammar exists yet, progress is tracked in VS Code syntax highlighting? File Type Icon? pngwn/MDsveX#121.For code editors, files can best be marked as Markdown (see linked PR).
mdsvex
#5f9ea0
mdsvex
website#ffcc99