You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why would I make such a request? Because I looked at many other hugo themes and did not integrate this piece of content, but I found that there is such an option in hexo’s butterfly theme.
For convenience and for beginners, it is recommended that some code style configurations be added to the blowfish theme. I hope this suggestion can be adopted by blowfish authors. thanks @nunocoracao
Currently, I display a mac theme style code block by adding the following code to assets/css/custom.css
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Why would I make such a request? Because I looked at many other hugo themes and did not integrate this piece of content, but I found that there is such an option in hexo’s butterfly theme.
https://butterfly.js.org/posts/4aa8abbe/#%E4%BB%A3%E7%A2%BC%E9%AB%98%E4%BA%AE%E4%B8%BB%E9%A1%
For convenience and for beginners, it is recommended that some code style configurations be added to the blowfish theme. I hope this suggestion can be adopted by blowfish authors. thanks @nunocoracao
Currently, I display a mac theme style code block by adding the following code to assets/css/custom.css
.prose .chroma:before {
background: #fc625d;
border-radius: 50%;
box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
content: " ";
height: 12px;
left: 12px;
margin-top: -20px;
position: absolute;
width: 12px;
z-index: 1;
}
.prose .chroma {
padding-top: 30px;
}
Beta Was this translation helpful? Give feedback.
All reactions