From e37e97f75b5533cc993f1c8d8f3b4fbdc1219084 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Mon, 23 Jul 2018 23:09:05 +0200 Subject: [PATCH] syntax highlighting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7596d67..95850dc 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ If you don't like an answer for your queries, you can pick another one. For that Cheat sheets are formatted as code of the queried programming language (at least we are trying our best to do so) so they can be pasted into a program in this language directly. Text comments, if there are any, are formatted according to the language syntax. -``` +```lua $ curl cht.sh/lua/table+keys -- lua: retrieve list of keys in a table @@ -147,7 +147,7 @@ so they can be pasted into a program in this language directly. Text comments, i If you don't need text comments in the answer, you can eliminate them using a special option `?Q`: -``` +```lua $ curl cht.sh/lua/table+keys?Q local keyset={} local n=0