diff --git a/bin/markdown2html b/bin/markdown2html index b24d58d..fe7d22b 100755 --- a/bin/markdown2html +++ b/bin/markdown2html @@ -1,2 +1,2 @@ #!/bin/sh -node $(dirname $0)/markdown2html.js $* \ No newline at end of file +node $(dirname "$(readlink -f "$0")")/markdown2html.js $* \ No newline at end of file diff --git a/bin/strip-frontmatter b/bin/strip-frontmatter index f17b3fb..22fe00b 100755 --- a/bin/strip-frontmatter +++ b/bin/strip-frontmatter @@ -1,2 +1,2 @@ #!/bin/sh -node $(dirname $0)/strip-frontmatter.js $* \ No newline at end of file +node $(dirname "$(readlink -f "$0")")/strip-frontmatter.js $* \ No newline at end of file diff --git a/src/breadcrumb-nav.ts b/src/breadcrumb-nav.ts index 818070e..6e8c2df 100644 --- a/src/breadcrumb-nav.ts +++ b/src/breadcrumb-nav.ts @@ -3,6 +3,8 @@ import { marked } from 'marked'; import { ParsedAttributes, parse_attributes } from './attrs'; import { MarkdownOptions } from './render'; +// todo: deprecate this + export interface BreadcrumbNavToken extends marked.Tokens.Generic { text: string; attrs: ParsedAttributes;