Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown example #19

Open
matt-d-rat opened this issue Jun 30, 2015 · 0 comments
Open

Markdown example #19

matt-d-rat opened this issue Jun 30, 2015 · 0 comments

Comments

@matt-d-rat
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant