PDConSec / vsc-print

Completely local print support for VS Code with syntax-colouring and line numbering
Other
70 stars 27 forks source link

Styling bug for cucumner feature file when Cucumber (Gherkin) Language Support is installed #191

Closed Shu-Ting-Huang closed 1 year ago

Shu-Ting-Huang commented 1 year ago

I have installed Cucumber (Gherkin) Language Support and created the following feature file. 2023-03-01_22-40-54 When I tried to print this file, the single-quoted string on line 6 is not rendered as what is rendered on the editor. 2023-03-01_22-48-20

PeterWone commented 1 year ago

Syntax colouring is implemented by highlightjs engine maintained at https://github.com/highlightjs/highlight.js

You can contribute enhancements and corrections there.

PeterWone commented 1 year ago

@Shu-Ting-Huang I'm closing this issue since it won't be resolved here.

I thought you'd like to know: the latest major release of highlight.js creates webpack and Typescript problems that break my entire toolchain, so I am now looking for an alternative. While the built-in vscode syntax coloring support is not designed for rendering a whole document, it would nevertheless be an outstanding option if I could get it to work.