W
W
weekens2017-08-07 16:23:45
Habr
weekens, 2017-08-07 16:23:45

Habraeditor: How to disable language auto-detection in code blocks when writing an article?

I am writing an article on Habré, I am trying to add blocks with console output to the article (using ```). They automatically determine the language (either Ruby, or Perl) and the text is multi-colored. Tell me how to turn it off, but so that the monospaced text and the gray background remain?
bcdf6c7330274c8387254bf16258eb4a.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Bumburum, 2017-08-07
@weekens

Try to either set another language yourself (```bash) or use an html code tag that doesn't have highlighting. Well, or paste a piece of code from the github, such as here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question