mirror of https://github.com/zulip/zulip.git
help: Remove typeahead workaround mentioned in our code-blocks doc.
In 215320bc72
, we added the typeahead for
the `pygments_name` field which helped lookup the human-readable
`pretty_name`. However, we forgot to remove the workaround method
mentioned in the docs to lookup the name before the typeahead was
introduced.
This commit is contained in:
parent
ad8f27e20c
commit
f611e83d33
|
@ -108,8 +108,8 @@ the user will get to choose which playground to open the code in.
|
|||
* The `Language` field is the human-readable Pygments language name for that
|
||||
programming language. The language tag for a code block is internally mapped
|
||||
to these human-readable Pygments names. E.g: `py3` and `py` are mapped to
|
||||
`Python`. We are working on implementing a typeahead for looking up the
|
||||
Pygments name. Until then, one can use [this Pygments method][get_lexer_by_name].
|
||||
`Python`. One can use the typeahead (which appears when you type something
|
||||
or just click on the language field) to lookup the Pygments name.
|
||||
|
||||
* The links for opening code playgrounds are always constructed by concatenating
|
||||
the provided URL prefix with the URL-encoded contents of the code block.
|
||||
|
|
Loading…
Reference in New Issue