pull/5/head
Sil van Diepen 5 years ago committed by GitHub
parent a3df035bab
commit 094862f63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
import path from 'path' import path from 'path'
import matter from 'gray-matter' import matter from 'gray-matter'
import LRUCache from 'lru-cache' import LRUCache from 'lru-cache'
import { createMarkdownRenderer, MarkdownOpitons } from './markdown/markdown' import { createMarkdownRenderer, MarkdownOptions } from './markdown/markdown'
import { deeplyParseHeader } from './utils/parseHeader' import { deeplyParseHeader } from './utils/parseHeader'
import { PageData } from './config' import { PageData } from './config'
@ -15,7 +15,7 @@ interface MarkdownCompileResult {
export function createMarkdownToVueRenderFn( export function createMarkdownToVueRenderFn(
root: string, root: string,
options: MarkdownOpitons = {} options: MarkdownOptions = {}
) { ) {
const md = createMarkdownRenderer(options) const md = createMarkdownRenderer(options)

Loading…
Cancel
Save