From f611e83d333b1130c9212fadacc6448be0764f79 Mon Sep 17 00:00:00 2001 From: Sumanth V Rao Date: Sat, 8 May 2021 16:34:29 +0530 Subject: [PATCH] help: Remove typeahead workaround mentioned in our code-blocks doc. In 215320bc721038001b506975dab0035157427a2e, 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. --- templates/zerver/help/code-blocks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/zerver/help/code-blocks.md b/templates/zerver/help/code-blocks.md index 354d806f14..72de0f5207 100644 --- a/templates/zerver/help/code-blocks.md +++ b/templates/zerver/help/code-blocks.md @@ -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.