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

ep_markdown

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_markdown - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

14

exportMarkdown.js

@@ -84,3 +84,3 @@ /**

var headingtags = ['# ', '## ', '### ', '#### ', '##### ', '###### ', '`'];
var headingtags = ['# ', '## ', '### ', '#### ', '##### ', '###### ', '```'];
var headingprops = [['heading', 'h1'], ['heading', 'h2'], ['heading', 'h3'], ['heading', 'h4'], ['heading', 'h5'], ['heading', 'h6'], ['heading', 'code']];

@@ -153,2 +153,3 @@ var headinganumMap = {};

var heading = false;
var isCode = false;
var deletedAsterisk = false; // we need to delete * from the beginning of the heading line

@@ -171,2 +172,7 @@ var iter2 = Changeset.opIterator(Changeset.subattribution(attribs, 0, 1));

if (heading) {
if(heading === "```"){
isCode = true;
}else{
isCode = false;
}
assem.append(heading);

@@ -326,5 +332,5 @@ }

// if (heading) {
// assem.append('}');
// }
if (isCode) {
assem.append('```');
}

@@ -331,0 +337,0 @@ // replace &, _

{
"name": "ep_markdown",
"description": "Edit and Export as Markdown in Etherpad",
"version": "0.1.3",
"version": "0.1.4",
"author": {

@@ -6,0 +6,0 @@ "name": "John McLear",

Sorry, the diff of this file is not supported yet

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