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

@ulu/sassdoc-to-markdown

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ulu/sassdoc-to-markdown - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/create-pages.js

@@ -98,3 +98,3 @@ import { join } from "path";

const $group = groupTemplate(pageData, $content);
const $group = groupTemplate(ctxData, $content);

@@ -101,0 +101,0 @@ if (options.debugToDir) {

@@ -9,4 +9,2 @@ import { titledList } from "@ulu/markdown-output-utils";

<SassdocDetails summary="Meta Information">
${ titledList({

@@ -21,4 +19,2 @@ "File" : file.path,

}) }
</SassdocDetails>

@@ -25,0 +21,0 @@ `;

import group from "./page/group.js";
import section from "./page/section.js";
import item from "./page/item.js";
import component from "./page/component.js";
import script from "./page/script.js";

@@ -29,4 +27,2 @@ import see from "./annotations/see.js";

item,
component,
script,
};

@@ -33,0 +29,0 @@ export const annotations = {

@@ -1,15 +0,7 @@

export default ({ title, info, groupName, options }, markup) => {
export default ({ title, info, groupName }, markup) => {
const groupDescription = info?.groupDescriptions?.[groupName];
let description = !groupDescription ? "" : `
<div class="sassdoc-intro">
${ groupDescription }
</div>
`;
return `
# ${ title }
${ description }
${ groupDescription ? groupDescription : "" }

@@ -16,0 +8,0 @@ ${ markup }

{
"name": "@ulu/sassdoc-to-markdown",
"version": "0.0.2",
"version": "0.0.3",
"description": "Parses sass directory and outputs markdown pages for sassdocs.",

@@ -5,0 +5,0 @@ "main": "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