Ancient Greek dictionary for cspell.
This is a pre-built dictionary for use with CSpell.
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-grc
cspell link add @cspell/dict-grc
cspell link remove @cspell/dict-grc
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
// …
}
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.
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
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
See: How to Create a New Dictionary
MIT
Some packages may have other licenses included.
Brought to you by Street Side Software