Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about pygments

Read more about pygments

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - pygments

pygments highlight print in jupyter

I would like to print a string with sql into my jupyter notebook like below This was done manually with pygments, see Here is what I tried so far from pygments import highlight from pygments.lexers i...
test-img

PalimPalim

python

jupyter-notebook

jupyter-lab

lexer

pygments

Votes: 0

Answers: 1

Latest Answer

You need to also set HtmlFormatter(full=True)
test-img

PalimPalim

How to highlight whole syntax(including every modules's Keywords,class,etc.) of python in text widget in python tkinter

I am creating code editor, I want to highlight every code properly. I have created a code to highlight code and I have created a different function to highlight string and comments but when I type any...
test-img

Coder

python

tkinter

pygments

Votes: 0

Answers: 1

Latest Answer

I have found this solution this solution solve my problem from tkinter import* def Keys_word(Keys_list): for i in Keys_list: editor.tag_remove(i,"1.0",END) pos = 1.0 ...
test-img

Coder

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved