I have following example stence
It uses the pygments library.
aspell complains at pygments, because it does not know it. One option is to add it to the dictionary. However, it could be that it is a typo at another place.
From markdownlint I learned the concept of magic comment sin text files: https://github.com/DavidAnson/markdownlint?tab=readme-ov-file#configuration
<!-- markdownlint-disable-next-line no-space-in-emphasis -->
space * in * emphasis
Maybe, something similar could be implented for aspell?
<!-- aspell-ignore-next-line pygments -->
<!-- aspell-ignore-full-next-line -->
Ignoring lines could also help somehow that source code is spell checked - in the following source code, args is said to be spelled wrong. <!-- aspell-ignore-full-next-lines 7 --> could help here.
\begin{minted}[linenos=true,escapeinside=||]{java}
public class Hello {
public static void main (String[] args) {
System.out.println("Hello World!");
}
}
\end{minted}
I have following example stence
aspellcomplains atpygments, because it does not know it. One option is to add it to the dictionary. However, it could be that it is a typo at another place.From
markdownlintI learned the concept of magic comment sin text files: https://github.com/DavidAnson/markdownlint?tab=readme-ov-file#configuration<!-- markdownlint-disable-next-line no-space-in-emphasis --> space * in * emphasisMaybe, something similar could be implented for aspell?
Ignoring lines could also help somehow that source code is spell checked - in the following source code,
argsis said to be spelled wrong.<!-- aspell-ignore-full-next-lines 7 -->could help here.