UNPKG

docusaurus-plugin-openapi-docs

Version:

OpenAPI plugin for Docusaurus.

21 lines (20 loc) 737 B
"use strict"; /* ============================================================================ * Copyright (c) Palo Alto Networks * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * ========================================================================== */ Object.defineProperty(exports, "__esModule", { value: true }); exports.createHeading = createHeading; const utils_1 = require("./utils"); function createHeading(heading) { return [ (0, utils_1.create)("Heading", { children: (0, utils_1.clean)(heading), as: "h1", className: "openapi__heading", }, { inline: true }), `\n\n`, ]; }