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

code highlighter theme get overrided in distill blog post #1220

Open
3 tasks done
minranr opened this issue Feb 28, 2023 · 6 comments
Open
3 tasks done

code highlighter theme get overrided in distill blog post #1220

minranr opened this issue Feb 28, 2023 · 6 comments

Comments

@minranr
Copy link

minranr commented Feb 28, 2023

Acknowledge the following

  • I carefully read and followed the Getting Started guide.
  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • The issue I am raising is a potential bug in al-folio and not just a usage question.
    [For usage questions, please post in the Discussions instead of raising an issue.]

Describe the bug
code highlighter theme works on post with code but not distill blog post

image

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://alshedivat.github.io/al-folio/blog/2021/distill/
  2. Go to https://alshedivat.github.io/al-folio/blog/2015/code/

Expected behavior

code highlighter theme works on distill-style blog post

System (please complete the following information):

  • OS: MacOS
  • Browser (and its version) chrome
  • Jekyll version 4.3.2
  • Ruby version 3.1.2
@george-gca
Copy link
Collaborator

Note: it gives error even when using mardown syntax (```) with line numbers set on config.

@stale
Copy link

stale bot commented Jun 24, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 24, 2023
@stale stale bot closed this as completed Jul 1, 2023
@albertfgu
Copy link

👍 can this issue be re-opened? It seems like an important feature for distill-style blog posts

@alshedivat alshedivat reopened this May 28, 2024
@stale stale bot removed the wontfix label May 28, 2024
@joe-lin-tech
Copy link

It seems like the distill blog post uses the Prism syntax highlighter. To use the highlighter theme from the post with code instead, I just removed the Prism section in assets/js/distillpub/template.v2.js.

@george-gca
Copy link
Collaborator

@joe-lin-tech would you mind sending a PR for this? I believe it is a better solution to keep the theme more consistent.

@hrhoo
Copy link

hrhoo commented Aug 11, 2024

I think this issue is still open..?
I am having this issue.

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

No branches or pull requests

6 participants