Skip to content

Commit 7ca82b1

Browse files
committed
Update README to highlight new config option
1 parent 2195b9b commit 7ca82b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,14 +444,16 @@ Markdown(
444444
MarkdownHighlightedCodeBlock(
445445
content = it.content,
446446
node = it.node,
447-
highlightsBuilder = highlightsBuilder
447+
highlightsBuilder = highlightsBuilder,
448+
showHeader = true, // optional enable header with code language + copy button
448449
)
449450
},
450451
codeFence = {
451452
MarkdownHighlightedCodeFence(
452453
content = it.content,
453454
node = it.node,
454-
highlightsBuilder = highlightsBuilder
455+
highlightsBuilder = highlightsBuilder,
456+
showHeader = true, // optional enable header with code language + copy button
455457
)
456458
},
457459
)

0 commit comments

Comments
 (0)