@cspell/dict-grc v1.0.5
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-grcUninstall from CSpell
cspell link remove @cspell/dict-grcManual Installation
Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
npm i @cspell/dict-grcThe 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 GreekIncluding 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 dictionaryDictionary Development
See: How to Create a New Dictionary
License
MIT
Some packages may have other licenses included.