syntax-highlighting Questions
3
Solved
My vim syntax highlighting just lead me to believe that status is a keyword in JavaScript.
Searching around all I can find are articles about window.status in browser JavaScript. Is this the meani...
Wonacott asked 6/4, 2018 at 2:50
3
Solved
This is a bit challenging even probably for a team project, let alone for a one-man implementation, but I was trying to put together a simple yet elegant text editor with syntax highlighting, using...
Hoodlum asked 1/10, 2012 at 17:31
4
Solved
I need an extension in intellij or vscode or some app to transform my codes into pdf.
I tried to use the app notion but it doesn't export with syntax highlighting.
*Edit:
I know it seems to have a ...
Homonym asked 12/11, 2022 at 22:26
5
So I have been struggling to use Highlight.JS in a textarea, because this doesn't work:
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
<link rel="s...
Merchantable asked 13/10, 2013 at 15:40
11
Solved
In Android Studio (Version 1.1.0) I'm having issues getting it to highlight .java syntax properly. It is currently only highlighting Keywords, commas, semicolons, and comments. Other file types suc...
Saturable asked 23/4, 2015 at 14:51
3
Migrated from VSCode to VSCodium because "Microsoft bad". Developing python applications seems to be missing some of the code colors like the modules in turquoise or local variables in li...
Rob asked 4/2, 2023 at 13:45
7
Solved
Markdown has pipe table syntax but it's not enough for some cases.
| table | syntax | without multiline cell content |
So, we can use HTML table tags.
<table>
<tr>
<td>
```cs...
Apodosis asked 19/2, 2014 at 10:45
5
Solved
My website is generating some content dynamically, so I have to somehow launch the highlight.js plugin again after loading it.
This code is used to launch the highlighter:
hljs.initHighlightingOn...
Embranchment asked 26/10, 2012 at 21:16
6
Solved
I'm going to a farm. I think there are no computers there, and my laptop is broken. I want to print out the code of some of my projects on A4 paper so I can review it while I'm there. It would be n...
Leomaleon asked 6/2, 2010 at 15:19
1
I want to make a small VS Code extension to add syntax highlighting to a handful of custom keywords in C/C++ code.
I am trying to do that with an injection grammar into the source.c and source.cpp ...
Dessalines asked 17/12, 2021 at 17:48
3
I have the following code:
<head>
<title></title>
<link rel="stylesheet" href="./styles/darkula.css">
<link rel="stylesheet" href="./styles/github.css">
</head&...
Coldhearted asked 9/12, 2019 at 22:6
6
Solved
I work with a few different X12 standard EDI transactions (270/271, 276/277.) I thought I'd check to see if anyone knew of an existing syntax highlighting profile for these for Notepad++ before I s...
Embolectomy asked 24/6, 2011 at 19:25
1
First... Would it be possible to accomplish simple syntax highlighting using a PEG.
I'm only looking for it to be able to recognize and highlight basic things that are common to c style languages
...
Pyrophosphate asked 8/10, 2013 at 18:42
2
I want to highlight a part of a code block that is written in markdown using triple backticks (```).
Here is an image of what I want.
code block with highlighting-imgur
I want to replicate how we h...
Viviennevivify asked 30/11, 2021 at 19:50
4
Solved
Is there a way (plugin, option, or tip and trick) to highlight HTML syntax in a JS string?
My document is a .js file, in which I use strings containing HTML code. Is it possible to highlight HTML s...
Inactivate asked 8/3, 2018 at 5:53
5
I'm using VSCode for coding Python. The problem is VSCode prints any output (Errors, Warning and ...) in the same format and color.
Is there any extension or tools to manage it? for example like Py...
Baughman asked 20/9, 2019 at 14:36
5
I would like to make variables displayed with colours.
This is how it looks:
This is how I want it to be:
Looking through here, I cannot find any settings that allow me to change this.
Needs asked 9/12, 2017 at 2:19
2
Following the latest update for NPP on Windows 10, my markdown is now highlighted like in the image below (I know it's Python code, that's not the point).
I want completely plain code for Markdown...
Hammerfest asked 23/6, 2019 at 9:40
2
I recently started using Vi Improved and being a Rainmeter Skin Specialist, when editing my .ini files I can't find a way to add syntax highlight for such files. I searched for a lot of time on sta...
Checkerbloom asked 22/7, 2021 at 6:6
2
Solved
I'm using highlight.js to highlight code blocks in HTML. highlight.js can find all code blocks and determine the language automatically but I would like to specify both element(s) and language(s) m...
Flautist asked 9/6, 2014 at 14:33
10
Solved
I am using Visual Studio Code (VSC) as my IDE. My computer just updated to Catalina 10.15.2 (19C57) and since the update, VSCode is no longer highlighting syntax errors. The extensions I have seem ...
Paperboard asked 16/1, 2020 at 17:35
10
Solved
Before the confusion begins, this question is about Code, the new lightweight Visual Studio Editor.
You can get it from here: https://code.visualstudio.com/
I have a textfile (.txt) with CSS in it...
Lowminded asked 11/6, 2015 at 8:30
5
Solved
I'm writing a document of programming guidelines for my developers team. I use MS Word. We work with Eclipse CDT (C++). I need to copy-paste C++ code with syntax highlighting from Eclipse to Word. ...
Stolzer asked 5/12, 2011 at 13:49
2
I am using IntelliJ IDEA 2021.3.2 (Community Edition), currently for Flutter development. When I open a Podfile, that is like a build script for an iOS app, and which seems to be a valid Ruby file ...
Scopula asked 12/2, 2022 at 10:43
24
Solved
EDIT: This is weird... if I double-click the Recent Projects item for the project in the welcome screen, code sense and coloring works just fine but if I just click Open (bottom right in welcome sc...
Immobile asked 26/10, 2009 at 20:5
1 Next >
© 2022 - 2025 — McMap. All rights reserved.