Comments (4)
PaperMod uses highlight.js for syntax highlighting, there is no option to override default syntax highlighting as of now !
If you know how to edit the theme..
Although, you may use any of styling at https://cdnjs.com/libraries/highlight.js
and put it under assets
dir, then you can use it from templates to use it with your own customized theme 🎉
from hugo-papermod.
PaperMod uses highlight.js for syntax highlighting
Interesting. I read that Chroma is faster than Highlight.js from https://harrycresswell.com/articles/performant-syntax-highlighting-in-hugo/. Are there benefits to the highlight.js approach?
The advantage of using Chroma over other JavaScript libraries like Highlight.js or Prisma.js is that it’s built right into Hugo and doesn’t require any external dependencies. This make it extremely fast and reliable.
from hugo-papermod.
PaperMod uses highlight.js for syntax highlighting
Interesting. I read that Chroma is faster than Highlight.js from https://harrycresswell.com/articles/performant-syntax-highlighting-in-hugo/. Are there benefits to the highlight.js approach?
The advantage of using Chroma over other JavaScript libraries like Highlight.js or Prisma.js is that it’s built right into Hugo and doesn’t require any external dependencies. This make it extremely fast and reliable.
It was not by choice, but the og theme paper was using hljs.
The og Design part of paper was never took out from papermod, as it is an integral part of paper!
from hugo-papermod.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hugo-papermod.
Related Issues (20)
- Is it possible to prevent specific pages from showing up in archive pages?
- [BUG]In the f5c737f version, using the `hugo --minify` command will report an error.
- Hierarchical menus? HOT 1
- [BUG] Build Error - expected comma character or an array HOT 1
- [BUG] HTML invalidator: Trailing slash on void elements
- [BUG] Wiki: Installation - Expand Method 4
- Social Icon Request: SpaceHey
- Make Twitter card's content value configurable HOT 2
- Support adding Link to footer for Privacy Policy or Footer HOT 3
- [BUG `googleAnalytics` was deprecated
- Social icon for exercism
- Hugo Aliases Not Working as Expected HOT 1
- [BUG] Relative image paths are not handled properly in pages of secondary languages HOT 5
- Wiki docs: dead link for DateFormat HOT 1
- Categories Section for Posts
- Image render hook vs the new embedded image render hook in 0.123 HOT 4
- [BUG] menus not rendered in recent hugo versions, starting with 0.125.0 HOT 3
- [BUG] Header, Footer Breadcrumbs under partials do not have proper links HOT 1
- Can you add IMDB to the supported social icons list.
- error building site
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-papermod.