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

Goldmark compatibility? #358

Closed
rodrigoalcarazdelaosa opened this issue Jun 17, 2020 · 3 comments
Closed

Goldmark compatibility? #358

rodrigoalcarazdelaosa opened this issue Jun 17, 2020 · 3 comments

Comments

@rodrigoalcarazdelaosa
Copy link

Hi!
I'm currently using the Academic theme for Hugo, which uses Goldmark by default.

I'm trying to make littlefoot work but no luck yet.

I haven't figured out the problem yet but any help would be greatly appreciated.

Thanks!

@goblindegook
Copy link
Owner

goblindegook commented Jun 17, 2020

The markup generated by Hugo should work out of the box. Might be worth checking if the footnote extension is enabled on Goldmark.

While I don't use the Academic theme, my personal website (goblindegook/goblindegook.com) is built on Hugo as well and it uses littlefoot. Hope it helps.

@rodrigoalcarazdelaosa
Copy link
Author

My bad, (I thought) I was overriding one of the templates of my theme but I wasn't (wrong path). Now littlefoot is working although it seems to conflict with the asides extension of the Academic theme.

This is what happens:

Before clicking the footnote:
image

After clicking the footnote (which seems to be using part of the CSS associated with the asides):
image

It seems that the Academic theme is overriding littlefoot CSS. I will need to tweak that, hope it's possible.

Thanks in advance!
Rodrigo

@goblindegook
Copy link
Owner

goblindegook commented Jun 17, 2020

Academic is being a bit naughty there, using almost blanket selectors like .article-style aside, but you should still be able to override everything by adding your own CSS definitions.

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

2 participants