Skip to content
#

syntax-highlighting

Here are 1,378 public repositories matching this topic...

bat
yaahc
yaahc commented Apr 27, 2020

As far as I can tell bat as a library only supports writing to stdout, I'm interested in seeing if I can integrate bat with color-backtrace/color-spantrace and eyre. To do this I need bat to write to a std::fmt::Formatter and return a fmt::Result instead of printing to stdout (i assume?) and returning a bat::error::Error.

So assuming I'm not misreading the docs...

Proposal

AndyFWealthfront
AndyFWealthfront commented Apr 10, 2019

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

rbalet
rbalet commented Nov 19, 2019

🐛 Bug Report

when using backtick within a table, the pipe | wont be espace by the backslash \
(originally raised here)

To Reproduce

try this code within a docusaurus md file

| Test                            | x        | x   |
| ------------------------------- | -------- | --- |
| `this pipe \| should be espace` |
kvii2202
kvii2202 commented May 4, 2020

bug .bat.lang is not right

不怎么会英语,将就看吧
bat.lang 的 commits 项不对,导致使用 DOS 渲染 .bat 代码时不能正确渲染注释

正确

、、、
Comments={
{ Block=false,
Delimiter= { [[(rem|Rem|REM)]] },
},
{ Block=false,
Delimiter= { [[::]] },
}
}
、、、

原文(大概?忘记备份了)

、、、
Comments={
{ Block=false,
Delimiter= { [^[(rem|Rem|REM)*]] },
此处不应有 ^ 和 *
},
此处多了个 ,
}
、、、

java 10

AStepaniuk
AStepaniuk commented May 3, 2020

A minor bug:
When new document is created and a single char is typed - document is still not marked with '*' (star).
So, user sees it as not modified.
The same occurs for the opened documents.

Document becomes modified after typing second character.

chocolateboy
chocolateboy commented Sep 1, 2019
  • 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

David-OConnor
David-OConnor commented Dec 15, 2018

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.

Improve this page

Add a description, image, and links to the syntax-highlighting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the syntax-highlighting topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.