Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typedoc-plugin-markdown

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-markdown - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

9

dist/theme/helpers/breadcrumbs.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const plugin_1 = require("../../plugin");
const theme_docusaurus_1 = require("../theme.docusaurus");
const theme_gitbook_1 = require("../theme.gitbook");

@@ -14,5 +13,3 @@ const theme_vuepress_1 = require("../theme.vuepress");

const hasGlobalsFile = plugin_1.MarkdownPlugin.theme.hasGlobalsFile;
const md = mode === undefined || mode === 1 || hasGlobalsFile
? [`[Globals](${relative_url_1.relativeUrl(this.project.url)}) /`]
: [];
const md = mode === undefined || mode === 1 || hasGlobalsFile ? [`[Globals](${relative_url_1.relativeUrl(this.project.url)}) /`] : [];
return breadcrumb(this.model, md);

@@ -31,5 +28,3 @@ }

function isVisible() {
if (plugin_1.MarkdownPlugin.theme instanceof theme_docusaurus_1.DocusaurusTheme ||
plugin_1.MarkdownPlugin.theme instanceof theme_gitbook_1.GitbookTheme ||
plugin_1.MarkdownPlugin.theme instanceof theme_vuepress_1.VuePressTheme) {
if (plugin_1.MarkdownPlugin.theme instanceof theme_gitbook_1.GitbookTheme || plugin_1.MarkdownPlugin.theme instanceof theme_vuepress_1.VuePressTheme) {
return false;

@@ -36,0 +31,0 @@ }

@@ -16,3 +16,3 @@ "use strict";

function isVisible(page) {
if (page.url === plugin_1.MarkdownPlugin.theme.indexName) {
if (plugin_1.MarkdownPlugin.theme instanceof theme_docusaurus_1.DocusaurusTheme || page.url === plugin_1.MarkdownPlugin.theme.indexName) {
return false;

@@ -23,5 +23,2 @@ }

function prefix() {
if (plugin_1.MarkdownPlugin.theme instanceof theme_docusaurus_1.DocusaurusTheme) {
return `> ${heading_1.heading(3)}`;
}
if (plugin_1.MarkdownPlugin.theme instanceof theme_gitbook_1.GitbookTheme) {

@@ -28,0 +25,0 @@ return `> ${heading_1.heading(1)}`;

@@ -6,2 +6,3 @@ "use strict";

const theme_vuepress_1 = require("../theme.vuepress");
const reflection_title_1 = require("./reflection-title");
function metadata() {

@@ -12,6 +13,6 @@ if (!isVisible()) {

const md = `---
id: ${getId(this)}
title: ${getTitle(this)}
sidebar_label: ${getLabel(this)}
---\n`;
id: ${getId(this)}
title: ${getReflectionTitle(this)}
sidebar_label: ${getLabel(this)}
---\n`;
return md;

@@ -33,2 +34,5 @@ }

}
function getReflectionTitle(page) {
return reflection_title_1.reflectionTitle.call(page).replace(/\*/g, '');
}
function getTitle(page) {

@@ -35,0 +39,0 @@ if (page.url === plugin_1.MarkdownPlugin.theme.indexName) {

@@ -33,3 +33,3 @@ "use strict";

}
paramsmd.push(`\`: *${type_1.type.call(param.type)}*`);
paramsmd.push(`\`: ${type_1.type.call(param.type)}`);
return paramsmd.join('');

@@ -36,0 +36,0 @@ })

{
"name": "typedoc-plugin-markdown",
"version": "2.0.7",
"version": "2.0.8",
"description": "A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc