@cspell/dict-grc
v1.0.1
Published
Ancient Greek dictionary for cspell.
Downloads
1,166
Maintainers
Readme
CSpell Ancient Greek Dictionary
Ancient Greek dictionary for cspell.
This is a pre-built dictionary for use with CSpell.
Installation
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-grc
cspell link add @cspell/dict-grc
Uninstall from CSpell
cspell link remove @cspell/dict-grc
Manual Installation
Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
npm i @cspell/dict-grc
The cspell-ext.json
file in this package should be added to the import section in your cspell.json
file.
{
// …
"import": ["@cspell/dict-grc/cspell-ext.json"],
"language": "en,grc", // this will enable both English and Ancient Greek
// …
}
Usage
It is necessary to enable the dictionary before it is used.
There are two approaches to enabling the dictionary.
- Enabling the language locale.
Any of the following locales can be used:
grc
,grc_GR
,gr
,el-GRC
. - Including the dictionary.
Enabling the language locale
Using a cspell directive in the document
Example directive in Markdown:
<!---
cspell:locale en,grc
--->
# Εἲς Ἑρμῆν
Using cspell configuration file
cspell.config.yaml
language: en,grc # Enable both English and Ancient Greek
Including the dictionary
Using a cspell directive in the document
Example dictionary directive in Markdown:
<!---
cspell:locale en
cspell:dictionaries grc
--->
# Εἲς Ἑρμῆν
Using cspell configuration file
cspell.config.yaml
dictionaries:
- grc # Always enable the Ancient Greek dictionary
Dictionary Development
See: How to Create a New Dictionary
License
MIT
Some packages may have other licenses included.