codespell-project / codespell

check code for common misspellings
GNU General Public License v2.0
1.84k stars 470 forks source link

Are inline ignores restricted to hash-style comments? #3401

Closed oddhack closed 4 months ago

oddhack commented 4 months ago

I'd like to use them in asciidoctor markup, but the documentation suggests it is limited to

# codespell:ignore wrod

syntax. The closest valid asciidoctor construct that looks like an inline ignore I can think of is

[[ # codespell:ignore wrod ]]

Is this sufficiently close to trigger the ignore feature? N.b. I do not care if it thinks it is supposed to ignore ']]', just so long as it ignores 'wrod' as well :-)

DimitriPapadopoulos commented 4 months ago

See #3397.