Skip to content

Commit

Permalink
small formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJuanAndOnly99 committed Feb 13, 2024
1 parent 814fd93 commit 1a85911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema2Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ function processProperty(propertyName, propertyDetails, schemaExamples) {
}

function renderType(ref) {
return `**Type**: ${ref}\n\n`;
return `**Type**: \`${ref}\`\n\n`;
}

function renderEnum(ref) {
return `**Possible values**: ${ref.join(', ')}\n\n`;
return `**Possible values**: ${("\`" + ref + "\`").join(', ')}\n\n`;
}

function renderRef(contextRef) {
Expand Down

0 comments on commit 1a85911

Please sign in to comment.