

JavaScript source code highlighter - Prettify
source link: https://www.devdungeon.com/content/javascript-source-code-highlighter-prettify
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

JavaScript source code highlighter - Prettify
Submitted by NanoDano on Thu, 10/18/2012 - 01:40
Google Code Prettify is great for turning <code> tags into nicely formatted HTML. I personally appreciate how it displays the line numbers, but they don't get included when you copy+paste. There are many themes available but my favorite is the google code. It treats word wrapping well with line numbers, shows each line number, and is styled nicely. The Drupal module allows you to integrate it easily to Drupal.
Drupal Pretiffy module: http://drupal.org/project/prettify
Prettify: http://code.google.com/p/google-code-prettify/
Prettify Themes Gallery: http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html
Advertisement
Recommend
-
40
PHP-Console-Highlighter - Highlight PHP code in terminal
-
75
README.md Highlightr
-
54
README.md Shellharden A bash syntax highlighter that...
-
65
README.md Iro.vim Iro.vim is a Vim plugin that is a next generation syntax highlighter. Installation Use some plugin manager. What's different from standard syntax highl...
-
66
Regex Colorize Color highlight your regex
-
15
README.md pretty-errors Prettifies Python exception output to make it legible. Install it with python -m pip install pretty-err...
-
32
README.md fira-code-mode Minor mode for Fira Code ligatures using prettify-symbols.
-
7
Understanding the Need for Python’s Pretty Print The Python pprint module is helpful in many situations. It comes in handy when making API requests, dealing with JSON files
-
2
BackBuilding a Code Snippet Highlighter in Next.jsMay 26th, 2022 · 4 min read
-
6
Open source web highlighter for notionSort by: I am an independent developer who has developed a app called hamsterbase. Because of my love for open-source, I have completely open-sourced the hamsterbase highligh...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK