Comments (5)
This issue is because hugo only add .highlight
class to codeblock container after rendering to html.
Which is means something like this in markdown:
```bash
$ hugo new site blogg
$ git init
```
The bash
or any other language is required.
And I appreciate if you have any idea to impove theme function or style, please create a new issue about them.
from hugo-tania.
@WingLim Thank you for such a quick response!
But this button appears only on first code block entry and its doesn't copy anything
from hugo-tania.
@WingLim Thank you for such a quick response!
But this button appears only on first code block entry and its doesn't copy anything
Can you show me the page of the bug you mention?
from hugo-tania.
markdown
Open your terminal and run:
$ hugo new site blogg
$ git init
This will create a new hugo site and initialize git repository in it.
Then you have to choose a theme to use in your blog. There you can find list of themes.
Pick one, click on it and you'll see a button Download
, click on it.
Click on green Code
button, choose HTTPS
and click copy button
Go to your project's folder
$ cd blogg
Add your theme as git submodule and to config.toml
$ git submodule add [email protected]:WingLim/hugo-tania.git themes/hugo-tania
$ echo theme = \"hugo-tania\" >> config.toml
Now you should be able to preview you site.
$ hugo serve
You will see output like
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Open the address in your browser and you should see your landing web page.
from hugo-tania.
I am using this theme in my blog, you can try to compile the file and see the problem
https://github.com/Friedrich42/murrr.space/blob/post/how-to-create-tech-blog/content/posts/how-to-create-a-tech-blog.md
from hugo-tania.
Related Issues (20)
- What is the cause of the error(unmarshal failed: toml: incomplete number) when running defualt toml?
- Issue - Custom Icons for Social Media SVG Not Found HOT 1
- Utterances as comments provider not rendering correctly HOT 1
- giscus support
- Add Cloudflare Web Analytics support HOT 1
- How to add an "about" to nav bar HOT 2
- Re: Broken image rendering when using under content directory image path. HOT 1
- Dark mode by default? HOT 3
- When I first click "Articles" page 's categories, it doesn't work. HOT 6
- 如何添加Twikoo评论系统! HOT 1
- The <em> is not rendeing HOT 1
- Help for newcomers in repo HOT 1
- How to show all articles in order by created date HOT 1
- Code Copy Button does not work HOT 3
- "Latest articles" section on the main lists files from the "projects" folder instead of "posts" HOT 2
- Add a section to the wiki on how to use custom social icons HOT 2
- Filtering articles by category name does not work HOT 4
- Add admonitions support
- Multilingual Mode
- footer error while generating HOT 1
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-tania.