Skip to content

Commit

Permalink
Merge branch 'issue-1068' of github.com:TheJuanAndOnly99/FDC3 into is…
Browse files Browse the repository at this point in the history
…sue-1068
  • Loading branch information
TheJuanAndOnly99 committed Mar 7, 2024
2 parents b052b86 + 18cee47 commit 6060696
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 @@ -6,7 +6,7 @@ function processProperty(propertyName, propertyDetails, schemaExamples) {
let markdownContent = '';

if (propertyName === 'type') {
markdownContent += `### ${'Type'|| propertyName}\n\n`;
markdownContent += `### Type\n\n`;
markdownContent += `\`${propertyDetails.const}\`\n\n`;
} else {
markdownContent += `### ${propertyDetails.title || propertyName}\n\n`;
Expand Down Expand Up @@ -173,7 +173,7 @@ function escape(text) {

function generateFrontMatter(title, description) {
return {
title: title + ' Schema',
title: `${title} Schema`,
description: description,
sidebar_label: title + ' Schema',
};
Expand Down

0 comments on commit 6060696

Please sign in to comment.