funkydan2 / hugo-kiera

Kiera - A Hugo Theme for writing
https://hugo-kiera.netlify.app
MIT License
71 stars 53 forks source link

Code block formatting #35

Closed tarquin-the-brave closed 4 years ago

tarquin-the-brave commented 4 years ago

Hi,

Love the theme! Very minimal. Four years into my career I've started trying to write a technical blog (four years too late... I know).

I don't know if this is an issue with the theme or Hugo (I'm not that familiar with front end stuff), but I'm finding code blocks a bit clunky.

Screenshot-pc

Screenshot-phone

I'm happy to spend some time looking into this and have a go at sending in a PR.

I was thinking instead I could embed github gists, just that means mastering the codeblocks seperately from the blog which is a bit annoying.

What would you advise?

Thanks.

dannyBies commented 4 years ago

Have you tried updating the theme to the latest version. I believe some of the issues you're experiencing should have been fixed now.

tarquin-the-brave commented 4 years ago

Updated the theme from commit c0467583e57abd758b2f4d97bd2038d9fab0aa50 to b7ac2cff368999dd42292b68d1316e825af4c845 (latest).

EDIT: sorry, retested again to check and it worked this time, must not have updated properly.

~Same problems~.

Looks like your fix in #34 has sorted this!