Code Monkey home page Code Monkey logo

Comments (5)

lokamigauti avatar lokamigauti commented on September 7, 2024

The same in a fresh install in Hugo 0.82.0:
image

from hugo-theme-cactus.

vdovhanych avatar vdovhanych commented on September 7, 2024

try using ## and ### for the H1 and H2 insted of just one #. Not seeing this issue.

from hugo-theme-cactus.

lokamigauti avatar lokamigauti commented on September 7, 2024

try using ## and ### for the H1 and H2 insted of just one #. Not seeing this issue.

Same issue usinmg both.

from hugo-theme-cactus.

natehn avatar natehn commented on September 7, 2024

I have no problems using Hugo's figure shortcode

from hugo-theme-cactus.

lokamigauti avatar lokamigauti commented on September 7, 2024

I had the same problem. But, I managed to correct it:

I noted that the figures displayed in the top of the post were not necessarily summoned in the .Rmd (or .md), but just in the child directories (in relation of the file directory, I did not tested more than one level down). Somehow hugo scanned the images of all sub directories, regardless of its name, and rendered the images in the post. Another observation is that the images have links to its original image.
So, I created a resources directory above the file dir, and called the image as @natehn suggested (Thank you!):

---
title: bug
author: Kamigauti
date: '2021-04-05'
slug: []
categories:
  - programming
tags:
  - R
  - R Blogdown
draft: no
---

# Here comes a image
image:
{{< figure src="../resources/ROD_D_03_PM10_ARM_Unmix.png" >}}

# Here comes another image
another one:

And it worked. Not as clean as I would like, but it works perfectly. Thanks for the attention.

from hugo-theme-cactus.

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.