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
Browser with its version: Google Chrome Latest Version
Hugo version: latest version
Tranquilpeak version: latest version
Hi,
first of all many thanks for creating this awesome theme. I want to use it for a coding blog but have no experience with .scss files yet and unfortunately can't get your instructions to work for custom syntax highlighting. These are the instructions:
Get your theme here : Highlight.js theme or create yours
Follow guidelines in source/scss/themes/hljs-custom.scss file
Build the theme with npm run prod or grunt buildProd. Learn more about Grunt tasks : Grunt tasks
I tried to use the monokai theme (see code below) and noticed two issues:
npm run prodthrew an error: npm ERR! [email protected] prod: grunt buildProd npm ERR! Exit status 99
One instruction indicates " 6. Comment line 61 ('themes/tranquilpeak',) of source/_css/tranquilpeak.scss file". First, this file does not exist for me, I only find tranquilpeak.scsssrc/scss/. Second, line 61 is an empty line in that file, so I guess you're talking about the last lines in that file unter the last @import statement.
Could you please show or provide access to the two corrected files, tranquilpeak.scss and build theme for my .css code below as an example? This might also be helpful for other people.
Many thanks for helping me out :) I did install both hugo and grunt CLI before. But to be honest, given how few knowledge I have about this, it is very likely that I made a mistake in the step of adjusting the files beforehand.
Configuration
Hi,
first of all many thanks for creating this awesome theme. I want to use it for a coding blog but have no experience with
.scss
files yet and unfortunately can't get your instructions to work for custom syntax highlighting. These are the instructions:I tried to use the monokai theme (see code below) and noticed two issues:
npm run prod
threw an error:npm ERR! [email protected] prod:
grunt buildProdnpm ERR! Exit status 99
'themes/tranquilpeak',
) ofsource/_css/tranquilpeak.scss
file". First, this file does not exist for me, I only findtranquilpeak.scss
src/scss/
. Second, line 61 is an empty line in that file, so I guess you're talking about the last lines in that file unter the last@import
statement.Could you please show or provide access to the two corrected files,
tranquilpeak.scss
and build theme for my.css
code below as an example? This might also be helpful for other people.The text was updated successfully, but these errors were encountered: