syntax-highlighting
Here are 1,272 public repositories matching this topic...
Egors quote from elsewhere:
hljs.UNDERSCORE_IDENT_RE + '::' ?
Btw, I'm not 100% sure but looks like C++ allows underscore as the first character in identifiers, so maybe all (most?) instances of hljs.IDENT_RE below should really be hljs.UNDERSCORE_IDENT_RE. (This is not showstopper of course.)
Worth looking into.
tests/README.md speaks of $todo and $skip_test, even though the first is a metasyntactic variable and the second is a real variable. What's more, there's a literal $todo variable in the test harness implementation, which admittedly has nothing to do with the metasyntactic $todo in the documentation, but might confuse the maintainers nonetheless.
Let's use a different, less confusing no
Multi-line queries have a prompt_continuation (or not currently, due to issue 681, but that's beside the point). But even with prompt_continuation set to an empty string, it starts the next line indented, even when it's just due to wrapping at the edge of the terminal window:
db> select "example text that wraps onto the nex
t line";
I often copy/paste my query fr
Thanks for this awesome software.
I can now make HTTP request very easily.
But sometimes, I have to use an editor and other software to make requests with complicated body.
I use a simple script like this;
#!/usr/bin/zsh
# command name: httpj
TMPFILE=$(mktemp --suffix=.json)
vim $TMPFILE
http "$@" < $TMPFILE
rm $TMPFILE = \binom{n}{k} p^k\left(1-p\right)^{n-k}
(\#eq:binom)
\end{equation}
it represents equation in RMarkdown / bookdown syntax.
Remarkable 1.87 does not render it:
-
Updated
Jan 29, 2020 - Swift
- OS: Linux (Arch)
- Python: 3.7.4
- litecli: 1.1.0
This is a great tool (thanks!), but I was deterred from considering it by the references to completing with the "Right-arrow" key in the documentation (and UI). I'm used to completing with the standard GNU Readline Tab key (as in sqlite) and never use arrow keys for completion and don't use any tools which do by default (it's bee
Thanks for the amazing colour palette, really liked the colours and I am using it almost everywhere I can apart from Vim because:
The current way it highlights SpellBad is so intrusive that it makes you hard to concentrate on an ordinary code snippet as all the SpellBad matches are shown in Red with Underline. Just a few examples:
With spell turned on:
![Screenshot from 2019-04-28 19-41-13]
-
Updated
Feb 2, 2020 - Shell
Add support C#
Please add C# syntax support.
When rendering nested classes, the fast renderer determines which style takes precedence in a non-deterministic manner.
Eg.
xcode.css has the following definitions (simplified here for the sake of brevity):
.hljs-title {
color: blue;
}
.hljs-class .hljs-title {
color: purple;
}The following JS snippet
class Foois converted to
<span class=See so-fancy/diff-so-fancy#271 for an explanation, since it's the same issue.
Could notepad3 support option that adds "Open with notepad3" to right-click menu?
This feature can be very helpful in Windows system.
There's no mention of highlighted_html_for_string usage in the examples, or anywhere I've found outside the API docs. There's an example of highlighted_html_for_file, but this doesn't require a SyntaxReference param, which there's no example of either.
-
Updated
Feb 1, 2020 - Kotlin
I have this kind of content with setMarkOccurrences(true);
When I put a cursor on one of lines "aaaaaaaaa", the same word is highligted in all content and RSTA.markedOccurrencesChanged property is fired.


Line wrapping seems to be disabled when piping to another process, even when forced with
--wrap=character.