Highlight specific lines in markdown code blocks
mainYou can highlight specific lines in a code block by adding curly braces with line numbers after the language identifier in your markdown. For example, ```javascript {2,5} will apply highlighting to lines 2 and 5.
// Here is a simple function
async function hello() {
console.log('Hello, world from JavaScript!')
return 123 // return a number
}
await hello()