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

aigis-marked

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aigis-marked - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/md/blockquote.js

@@ -5,5 +5,5 @@ var _ = require('lodash');

module.exports = function (quote) {
var className = this.md_class['blockquote'];
var className = this.options.md_class['blockquote'];
var classes = _.isArray(className) ? className.join(' ') : className;
return format('<blockquote class="%s">\n%s</blockquote>\n', classes, quote);
};

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(text, level, raw) {
var className = this.md_class['heading'];
var className = this.options.md_class['heading'];
var classes = _.isArray(className) ? className.join(" ") : className;

@@ -8,0 +8,0 @@ var id = this.options.headerPrefix + raw.toLowerCase().replace(/[^\w]+/g, '-');

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function() {
var className = this.md_class['hr'];
var className = this.options.md_class['hr'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@ var end = this.options.xhtml ? '/' : '';

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(href, title, text) {
var className = this.md_class['image'];
var className = this.options.md_class['image'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@ var end = this.options.xhtml ? '/' : '';

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(href, title, text) {
var className = this.md_class['link'];
var className = this.options.md_class['link'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(body, ordered) {
var className = this.md_class['list'];
var className = this.options.md_class['list'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@ var type = ordered ? 'ol' : 'ul';

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(text) {
var className = this.md_class['listitem'];
var className = this.options.md_class['listitem'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(text) {
var className = this.md_class['paragraph'];
var className = this.options.md_class['paragraph'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(header, body) {
var className = this.md_class['table'];
var className = this.options.md_class['table'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(content, flags) {
var className = this.md_class['tablecell'];
var className = this.options.md_class['tablecell'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ var _ = require('lodash');

module.exports = function(content) {
var className = this.md_class['tablerow'];
var className = this.options.md_class['tablerow'];
var classes = _.isArray(className) ? className.join(' ') : className;

@@ -8,0 +8,0 @@

{
"name": "aigis-marked",
"version": "0.0.4",
"version": "0.0.5",
"description": "Custom markdown renderer for aigis used with marked.",

@@ -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