• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How to Use JuliaMono Font in Urvanov/Crayon Syntax Highlighter

By Abhishek Ghosh June 1, 2023 5:32 pm Updated on June 1, 2023

How to Use JuliaMono Font in Urvanov/Crayon Syntax Highlighter

Advertisement

The original Crayon Syntax Highlighter by Aram Kocharyan no longer available because it does not work with the newer WordPress versions. However, Fedor Urvanov has worked with Aram Kocharyan to make Crayon Syntax Highlighter work again as Urvanov Syntax Highlighter. Most of the core technical blogs (including ours) heavily rely on Urvanov/Crayon Syntax Highlighter because it works with all the features we ever need.

Usually, we need a dark background for the code snippets to resemble the SSH screen. Our choice of fonts, icons and colours are limited for better readability, concentration and availability of Unicode characters. JuliaMono is a monospaced typeface, it is free and open-source. It was originally designed for Julia and officially they suggest use in different text editing environments that require a wide range of technical Unicode characters. It has massive Unicode support. However, there is a strange choice of ligaturing for a core symbol pair in JuliaMono.

Monaco is a great typeface, which is included by default. Usually, Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New etc fonts are used for pre, code blocks.

Advertisement

---

Font licenses are complex. Tend to choose fonts which are officially available on GitHub with a Apache or GNU GPL license compatible license. We are talking about JuliaMono, look at their website and GitHub repo for license:

Vim
1
2
https://juliamono.netlify.app
https://github.com/cormullion/juliamono

SIL Open Font License is considered “free” by the Free Software Foundation (FSF) and the Debian project. Monaco is not a freely licensed font. Apple can sue for distributing it or any modified versions as copyright infringement. The same goes for Menlo. There is a slight legal risk of using Monaco. This is my legal explanation. I am not a lawyer.

 

How to Use JuliaMono Font in Urvanov/Crayon Syntax Highlighter

 

Within the Urvanov/Crayon Syntax Highlighter’s plugin directory, you’ll find a directory named fonts. Create a sub-directory with the name juliamono. I guess, you’ll use JuliaMono-Regular font. Check the look from juliamono.netlify.app.

Inside this juliamono directory, you’ll need at least JuliaMono-Regular.woff2 file.

Outside the directory (one level up), you need this CSS file:

juliamono.css
Vim
1
2
3
4
5
6
7
8
9
10
11
@font-face {
    font-family: JuliaMono;
    src: url("juliamono/JuliaMono-Regular.woff2") format("woff2");
    text-rendering: optimizeLegibility;
    font-weight: normal;
    font-style: normal;
}
 
.crayon-font-juliamono * {
    font-family: JuliaMono, 'JuliaMono-Regular', 'Courier New', monospace !important;
}

Save this file as juliamono.css.

On SSH, I ran these commands:

Vim
1
2
3
4
5
6
cd wp-content/plugins/urvanov-syntax-highlighter/fonts/
mkdir juliamono && cd juliamono
wget https://github.com/cormullion/juliamono/raw/master/webfonts/JuliaMono-Regular.woff2
cd ..
nano juliamono.css
# paste the content

After this work, you’ll get JuliaMono in the list of fonts on the plugin’s settings page:

How to Use JuliaMono Font in Urvanov Crayon Syntax Highlighter
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Use JuliaMono Font in Urvanov/Crayon Syntax Highlighter

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy