Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html code in .md files not working #1454

Closed
DiogoFerrari opened this issue Dec 6, 2019 · 4 comments
Closed

html code in .md files not working #1454

DiogoFerrari opened this issue Dec 6, 2019 · 4 comments

Comments

@DiogoFerrari
Copy link

I have a _index.md file with html code in a folder /content/software/.

I can create links, insert images, etc., using markdown, but the html code is ignored when the website is built. For instance:

This works

a link

But this does not even appear in the website as a link

Hello, world!

  • Hugo version: Hugo Static Site Generator v0.60.0
  • OS: Ubuntu 19.04; linux/amd64
  • Browser/OS: chromium Version 78.0.3904.108
  • Academic version: I don't know what version I am using or where to find that information. Let me know where I find it and I can provide it here.
@gcushen
Copy link
Collaborator

gcushen commented Dec 6, 2019

Academic does not parse HTML or Markdown. It is Hugo that performs that task - feel free to raise with Hugo team.

@artob
Copy link
Contributor

artob commented Dec 6, 2019

@DiogoFerrari There were changes in Hugo 0.60 that may affect your use of inline HTML, see the release notes: https://gohugo.io/news/0.60.0-relnotes/

@DiogoFerrari
Copy link
Author

That solved it. Thank you.

@Hetsvi
Copy link

Hetsvi commented Jun 3, 2020

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants