Comments (2)
I'm not sure this is archie specific. Please do check out Hugo Docs: https://gohugo.io/content-management/syntax-highlighting/#configure-syntax-highlighter
This will be a better guide :)
from archie.
I figured how to make it work, it surely is not an archie issue
(although it seemed like one, for one that is not familiar with hugo or styling in general..)
I generated a style.css file using
$ hugo gen chromastyles --style=emacs > spicedEmacs.css
And added this line to spicedEmacs.css:
.chroma .line ::selection {background-color: #ddff00}
Then following archie's README.md,
I placed the file inside themes/archie/assets/css/ of my hugo project and reloaded.
Now it looks charming :)
from archie.
Related Issues (20)
- Mermaid diagram problem HOT 2
- Use `pageRef` for internal links
- Do not use `.Site.BaseURL` in your templates
- Use `.RenderString` instead of `markdownify`
- More callouts: warning, danger HOT 1
- Issue with google analytics HOT 1
- Can't build with Hugo 0.123.7 (Ubuntu) HOT 1
- Mathjax Support HOT 6
- Red and Black Theme (Dark/Light mode toggle) HOT 1
- Link to section HOT 2
- theme does not work over https HOT 1
- error in feather.min.js path in header.html HOT 1
- [lang] attribute not set in html element
- how to make Utteranc.es theme follow archie's?
- Font weight not working
- Markdown syntax causing output issues and formatting errors HOT 4
- Light Mode is working (but make sure you dont use a Dark Mode extension when testing) :)
- GA4 support HOT 1
- suggestion: change from feathericons to simpleicons HOT 1
- Text selection color is probably wrong for dark mode HOT 2
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 archie.