Skip to content

Commit 038b4f5

Browse files
authored
Merge pull request OAI#3940 from ralfhandl/build-script-headline-for-abstract
Remove need for separate ReSpec clone for Arazzo
2 parents 6bd37a3 + 8b1a473 commit 038b4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/md2html/md2html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function preface(title,options) {
9595
preface += fs.readFileSync(path.resolve(__dirname,'gist.css'),'utf8').split('\n').join(' ');
9696
preface += '</style>';
9797
preface += `<h1 id="title">${title.split('|')[0]}</h1>`;
98-
preface += `<section id="abstract" title="${abstract}">`;
98+
preface += `<section id="abstract"><h2>${abstract}</h2>`;
9999
preface += 'The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to source code, additional documentation, or inspection of network traffic. When properly defined via OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interface descriptions have done for lower-level programming, the OpenAPI Specification removes guesswork in calling a service.';
100100
preface += '</section>';
101101
preface += '<section class="notoc" id="sotd">';

0 commit comments

Comments
 (0)