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

How to display code block? #296

Open
nhiennn-miichisoft opened this issue Oct 8, 2021 · 1 comment
Open

How to display code block? #296

nhiennn-miichisoft opened this issue Oct 8, 2021 · 1 comment
Labels

Comments

@nhiennn-miichisoft
Copy link

nhiennn-miichisoft commented Oct 8, 2021

Version: 2.7.0-beta.21

I try both markdown and tag syntax:

image

But content display have no style

image

Here is config:

image

I try to disable one of them: highlight & prismjs but still not work

What I miss?

@ikeq
Copy link
Owner

ikeq commented Oct 16, 2021

I tested golang and php and both worked as expected, here is my config:

highlight:
  enable: true
  line_number: true
  auto_detect: true
  tab_replace:

Note prismjs is not supported yet.

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

No branches or pull requests

2 participants