Comments (6)
Seems like any html in markdown is not being generated. Including embeds, emojis, etc
from hugo-vitae.
Hello @henryhe1,
since version 0.60.0 of Hugo, Goldmark is the default markdown handler.
Which means that inline HTML is disabled by default for safety. Here is the way you can enable it, if you are using config.toml
:
[markup.goldmark.renderer]
unsafe = true
Before you use any inline HTML, make yourself familiar with the possibilities that Hugo offers.
emojis and bold text working fine in my testing environment. Could you show me a snippet how you're try to use this features?
from hugo-vitae.
Hey @dataCobra , thanks for the reply! This is very helpful. I was mainly intending to use html for centering text as well as embedding soundcloud links.
And emojis do work for me now with enableEmoji set to true and using shorthands; before I was trying to copy the exampleSite emoji post which didn't work.
Regarding the bold text, I believe it is working when I zoom in, I think the bold font weight just looks similar to the normal font weight. How can I increase the weight of the bold font? Cheers, and great work on the theme! :)
from hugo-vitae.
@henryhe1 that is a strange behavior. But if you want to try a higher font-weight, you could add the following to your custom CSS.
b, strong {
font-weight: 700;
}
Could you tell me which browser you're using to display the page?
Since I am currently working on the redesign, I can use this information to directly correct such errors for the future.
Thank you for reporting this errors 👍
from hugo-vitae.
@dataCobra thanks a lot. It is working but just doesn't pop out on screen enough even with the weight at 700. I like Roboto but I just switched to OpenSans to make it easier. I am using Chrome. Looking forward to the redesign!
from hugo-vitae.
@henryhe1 thanks for your answer. 🙂
I will close this issue now. 👍
from hugo-vitae.
Related Issues (20)
- All links have a trailing space
- Internal templates are not available HOT 4
- Feature: Disable dark mode functionality
- Create templates for issues and pull requests
- Rework the "set dark mode as default" feature
- Code in hyperlink doesn't render HOT 2
- math rendering example HOT 4
- use safeURL HOT 2
- Source for default list page header prefers `.Data.Term` over `.Page.Title` HOT 6
- Dark mode icon is not shown if no social links are specified HOT 1
- Term with hashtag causing 404 error HOT 2
- [Question] How to put more posts on homepage? HOT 6
- Dark mode markdown codeblock background is white HOT 7
- readability issues in tables HOT 1
- Support for Persian? HOT 5
- When blog is in a subdirectory, resources does not load HOT 5
- Installation instructions not working HOT 1
- `customcss` isn't properly supported
- There must be at most one H1 tag in a page for SEO's sake HOT 3
- How to use math typesetting?
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-vitae.