question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Including plaintext grammar in default distribution?

See original GitHub issue

In case a language isn’t bundled on the page, explicitly setting .language-go for example, will not add the hljs class to the code block here. Similarly, if you would use .language-text (not .text or .no-highlight as in #700), the hljs class also isn’t added to the code block.

The expected behaviour would be that any .language-* class will add the .hljs block, so the code block will get basic styling (padding, background color, text color).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
joshgoebelcommented, Oct 14, 2019

At the very least this will make it into the next common release:

https://github.com/highlightjs/highlight.js/pull/2204

So closing this issue. 😃

1reaction
marcoscacerescommented, May 13, 2019

I’ve no objection either. It’s straight forward enough to make custom package bundles, so if this helps, then sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5. Categorizing and Tagging Words - NLTK
Many of these categories arise from superficial analysis the distribution of words in text. Consider the following analysis involving woman (a noun), ...
Read more >
Grammar Syntax — 竜 TatSu 5.8.1 documentation
Syntax definitions for VIM and for Sublime Text can be found under the etc/vim and etc/sublime directories in the source code distribution.
Read more >
Voice Extensible Markup Language (VoiceXML) Version 2.0
Some VoiceXML elements contain speech grammar data; others refer to speech grammar data through a URI. The speech recognizer must be able to ......
Read more >
English grammar for parsing in NLTK - python - Stack Overflow
To build the grammar model and run an example: python example.py with the default text hardcoded. Very easy to use and embeddable. The...
Read more >
WIDA English Language Development Standards Framework ...
Table 3-3: Distribution of Key Language Uses in Kindergarten . ... The sentence dimension contributes to the grammatical complexity of a text.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found