Skip to content

Commit fb73d85

Browse files
committed
Do bolding right
1 parent f6e9f73 commit fb73d85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

repo-scripts/api-documenter/src/documenters/MarkdownDocumenter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,13 +975,14 @@ page_type: reference
975975
// Header for each group of functions grouped by first param.
976976
// Doesn't make sense if there's only one group.
977977
const headerText = paramKey ? `function(${paramKey}...)` : 'function()';
978-
const formattedHeaderText = `**${headerText}**`;
979978
if (sortedFunctionsFirstParamKeys.length > 1) {
980979
finalFunctionsTable.addRow(
981980
new DocTableRow({ configuration }, [
982981
new DocTableCell({ configuration }, [
983982
new DocParagraph({ configuration }, [
984-
new DocPlainText({ configuration, text: formattedHeaderText })
983+
new DocEmphasisSpan({ configuration, bold: true }, [
984+
new DocPlainText({ configuration, text: headerText })
985+
])
985986
])
986987
])
987988
])

0 commit comments

Comments
 (0)