Commit 5749a07
committed
docs(widgets): correct Pygments class name for "console" alias
``get_lexer_by_name("console")`` returns ``BashSessionLexer``
(``pygments/lexers/shell.py:223``, alias registration at line 230), which
extends ``ShellSessionBaseLexer``. There is no class literally named
``ShellSessionLexer``. The behavioural claim in the comment -- that the
lexer tags ``$ `` as ``Generic.Prompt`` and emits ``<span class="gp">`` --
is unchanged and still correct.1 parent e7bf0b9 commit 5749a07
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments