spellchecker icon indicating copy to clipboard operation
spellchecker copied to clipboard

Allow spellchecker for latex (.tex) files

Open jfrob27 opened this issue 3 years ago • 2 comments

Hi, I use jupyter lab for coding and writing latex documents. It would be wonderful if we could activate spellchecker in .tex files opened in jupyter lab.

jfrob27 avatar Feb 08 '22 08:02 jfrob27

You can already do that. Just go to Settings (/Advanced Settings Editor) -> Spellchecker and change mimeTypes to include latex. I tested that the following works for .tex files in JupyterLab 3.2:

{
    "mimeTypes": [
        "text/plain",
        "text/x-ipythongfm",
        "text/x-latex"
    ],
}

Ideally we would provide a list of mime types in to choose from. This would be a nice enhancment.

krassowski avatar Feb 12 '22 18:02 krassowski

Great! I was suspecting a trick like this, but I did not know how to do it. Many thanks!

jfrob27 avatar Feb 13 '22 13:02 jfrob27