dgeni-example
dgeni-example copied to clipboard
Markdown example
Hey, this may sound silly, but I cannot for the life of me work out how to process markdown documents for documentation.
I keep getting the following error:
error: Error: No file reader found for /path/to/folder/dgeni-example/src/tutorials/GettingStarted.md
at matchFileReader (/path/to/folder/dgeni-example/node_modules/dgeni-packages/base/processors/read-files.js:132:25)
dgeni-config.js (readFilesProcessor)
readFilesProcessor.sourceFiles = [{
include: ['src/**/*.js', 'src/**/*.md'],
exclude: 'src/do-not-read.js',
basePath: 'src'
}];
From what I understand dgeni-packages/nunjucks supports parsing markdown as I can see it has the appropriate rendering tags.
Can you provide an example of parsing a markdown document in this example package please?