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

Ability to highlight parts of the code #459

Open
davidtlee opened this issue Jun 5, 2023 · 1 comment
Open

Ability to highlight parts of the code #459

davidtlee opened this issue Jun 5, 2023 · 1 comment

Comments

@davidtlee
Copy link

Hi, I was wondering whether ngx-markdown supports markdown for highlighting parts within a codeblock. For example, like in the learn svelte tutorial:

This is the markdown: https://github.com/sveltejs/learn.svelte.dev/blob/main/content/tutorial/01-svelte/01-introduction/02-your-first-component/README.md
This is how it is rendered: https://learn.svelte.dev/tutorial/your-first-component

In this example, they use surrounding +++ characters to denote something as being highlighted (here is one bit of that copy-pasted below):

/// file: App.svelte
<h1>Hello +++{name}+++!</h1>
@RoyceTheBiker
Copy link

I would also find this a helpful feature.

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