GithubHelp home page GithubHelp logo

Comments (6)

henryhe1 avatar henryhe1 commented on May 26, 2024

Seems like any html in markdown is not being generated. Including embeds, emojis, etc

from hugo-vitae.

dataCobra avatar dataCobra commented on May 26, 2024

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.

henryhe1 avatar henryhe1 commented on May 26, 2024

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! :)

image

from hugo-vitae.

dataCobra avatar dataCobra commented on May 26, 2024

@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.

henryhe1 avatar henryhe1 commented on May 26, 2024

@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!

image

from hugo-vitae.

dataCobra avatar dataCobra commented on May 26, 2024

@henryhe1 thanks for your answer. 🙂

I will close this issue now. 👍

from hugo-vitae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.