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

[BUG] Embedded gist has broken indentations #472

Open
reachsumit opened this issue Jul 21, 2020 · 3 comments
Open

[BUG] Embedded gist has broken indentations #472

reachsumit opened this issue Jul 21, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@reachsumit
Copy link

Describe the bug 描述你遇到的错误

git code indentation is broken
(see demo website: https://hugoloveit.com/theme-documentation-built-in-shortcodes/#2-gist)

A clear and concise description of what the bug is.
GitHub gists embedded directly or using the shortcode shows broken indentation. All the lines start from the very left in all of the code. This looks specially ugly for Python code gists.

Expected behavior 期待的行为

code inside embedded gist should be same as shown in GitHub gist main website.

A clear and concise description of what you expected to happen.
一段简短的对于你期待的行为的描述.
normal code indentation

Screenshots 屏幕截图

If applicable, add screenshots to help explain your problem.
如果可以的话, 提供屏幕截图对解决问题很有帮助.
screenshot
https://hugoloveit.com/theme-documentation-built-in-shortcodes/#2-gist

Build Environment 构建环境

  • OS: [e.g. Windows 10, macOS, Ubuntu]
  • Theme version/commit [e.g. 0.2.0, 2ccba79]
  • Hugo version [e.g. 0.69.0]
    Windows 10/macOS, latest Theme and Hugo version

Please try to use Hugo extended version before opening the issue.
请在创建 issue 之前尝试使用 Hugo extended 版本.
Done.

@RylandDeGregory
Copy link

Hi @dillonzq do you have any information on this?

@uPagge
Copy link

uPagge commented Feb 4, 2021

This template has been discontinued since May.

I took this template for support. There the problem was fixed. While in the dev branch, will be included in the next release.

https://github.com/uPagge/uBlogger

@TrevorMcCormick
Copy link
Contributor

if anyone wants a quick fix just edit your version locally:

1dc73de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants