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

怎样高亮显示一个代码块中的一行代码? #10

Open
gaospecial opened this issue Feb 6, 2021 · 0 comments
Open

怎样高亮显示一个代码块中的一行代码? #10

gaospecial opened this issue Feb 6, 2021 · 0 comments

Comments

@gaospecial
Copy link
Collaborator

gaospecial commented Feb 6, 2021

比如下面的两个代码块,第二块比第一块多了 lib_dirs: libs 一行,有没有办法给这一行突出显示?

---
title: "Habits"
output:
  html_document:
    self_contained: false
---
---
title: "Habits"
output:
  html_document:
    self_contained: false
    lib_dir: libs    #<< 要是这样可行的话就好了
---

类似于写轮眼幻灯片中的 #<< 标记,可以高亮其中的一行。

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

1 participant