dgeni-example icon indicating copy to clipboard operation
dgeni-example copied to clipboard

Markdown example

Open matt-d-rat opened this issue 10 years ago • 0 comments

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?

matt-d-rat avatar Jun 30 '15 11:06 matt-d-rat