php-markdown
php-markdown copied to clipboard
Abbreviations improvement
Predefined abbreviations are very useful but they don't work in specific cases:
- if the abbreviation is singular, then the plural form won't be detected as an abbr. There could be a way to define this per abbreviation eventually? atm forced to duplicate each abbr
- If the abbreviation has one uppercase character, then it won't be detected, but sometimes acronyms have weird casing, or putting an abbr on a simple word which is the first word in a sentence means it won't be detected
note: posted here first https://github.com/jonlabelle/ci-markdown/issues/13
Do you have some examples?
if you define an abbreviation for "NPC" (non playable character), then if you write "NPCs" it won't be detected and you have to set each abbreviation twice
for uppercase stuff, example this small organization called https://cmangos.net/ is written CMaNGOS, but it's easy to forget and write CMANGOS
Or Lua, often written LUA
So what you're suggesting is to make the comparison case-insensitive?