marked-footnote
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,1 +1,8 @@ | ||
## marked-footnote [1.1.3](https://github.com/bent10/marked-extensions/compare/marked-footnote@1.1.2...marked-footnote@1.1.3) (2023-11-26) | ||
### Bug Fixes | ||
* allows link in footnote content ([a3e49ac](https://github.com/bent10/marked-extensions/commit/a3e49acc0344d33525181639bbe55aa5aa11024d)), closes [#23](https://github.com/bent10/marked-extensions/issues/23) | ||
## marked-footnote [1.1.2](https://github.com/bent10/marked-extensions/compare/marked-footnote@1.1.1...marked-footnote@1.1.2) (2023-11-03) | ||
@@ -2,0 +9,0 @@ |
@@ -17,3 +17,3 @@ function k({ | ||
s.hasFootnotes || (this.lexer.tokens.push(t), s.tokens = this.lexer.tokens, s.hasFootnotes = !0, t.items = []); | ||
const r = /^\[\^([^\]\n]+)\]:(?:[ \t]+|[\n]*?|$)([^\[\n]*?(?:\n|$)(?:[\n]*?[ ]{4,}[^\[\n]*)*)/.exec( | ||
const r = /^\[\^([^\]\n]+)\]:(?:[ \t]+|[\n]*?|$)([^\n]*?(?:\n|$)(?:\n*?[ ]{4,}[^\n]*)*)/.exec( | ||
e | ||
@@ -20,0 +20,0 @@ ); |
@@ -1,2 +0,2 @@ | ||
(function(c,i){typeof exports=="object"&&typeof module<"u"?module.exports=i():typeof define=="function"&&define.amd?define(i):(c=typeof globalThis<"u"?globalThis:c||self,c.markedFootnote=i())})(this,function(){"use strict";function c({prefixId:n,lexer:s,description:o}){const t={type:"footnotes",raw:o,items:[]};return{name:"footnote",level:"block",childTokens:["content"],tokenizer(e){s.hasFootnotes||(this.lexer.tokens.push(t),s.tokens=this.lexer.tokens,s.hasFootnotes=!0,t.items=[]);const r=/^\[\^([^\]\n]+)\]:(?:[ \t]+|[\n]*?|$)([^\[\n]*?(?:\n|$)(?:[\n]*?[ ]{4,}[^\[\n]*)*)/.exec(e);if(r){const[u,a,f=""]=r;let l=f.split(` | ||
(function(c,i){typeof exports=="object"&&typeof module<"u"?module.exports=i():typeof define=="function"&&define.amd?define(i):(c=typeof globalThis<"u"?globalThis:c||self,c.markedFootnote=i())})(this,function(){"use strict";function c({prefixId:n,lexer:s,description:o}){const t={type:"footnotes",raw:o,items:[]};return{name:"footnote",level:"block",childTokens:["content"],tokenizer(e){s.hasFootnotes||(this.lexer.tokens.push(t),s.tokens=this.lexer.tokens,s.hasFootnotes=!0,t.items=[]);const r=/^\[\^([^\]\n]+)\]:(?:[ \t]+|[\n]*?|$)([^\n]*?(?:\n|$)(?:\n*?[ ]{4,}[^\n]*)*)/.exec(e);if(r){const[u,a,f=""]=r;let l=f.split(` | ||
`).reduce((m,$)=>m+` | ||
@@ -3,0 +3,0 @@ `+$.replace(/^(?:[ ]{4}|[\t])/,""),"");const d=l.trimEnd().split(` |
{ | ||
"name": "marked-footnote", | ||
"description": "A marked extension to support GFM footnotes", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
21231