Closed tihomir-kit closed 9 years ago
I have the same exact issue, with both v0.1.4
and v0.1.7
. I'm very glad that I was not the only one with this!
Can we please fix this?!
I think it as something to do with https://github.com/tj/ejs, but I can't seem to narrow it down to the exact point. It looks like the template wont be compiled/rendered.
For some reason, ejs seems to be ignoring the ejs.open
and ejs.close
properties. This can be fixed by grabbing the 1.0 version of ejs from https://github.com/tj/ejs (throw it into markdox/node_modules
)
Can we get a bower update using ejs version 1.0?
I just issued a PR to fix the dependency: https://github.com/cbou/markdox/pull/26
A temporary local fix is shrinkwrapping your markdox
dependency:
npm shrinkwrap [--dev]
(the flag is required if markdox
is a devDependency
)markdox
in the resulting file, npm-shrinkwrap.json
(but keep anything under markdox.dependencies
)ejs
under markdox.dependencies
and change the version from 2.1.4
to 1.0.0
(example below)markdox
: npm remove markdox
npm install
without parameters, the shrinkwrapped version with ejs@1.0.0
should now be installed"ejs": {
"version": "1.0.0",
"from": "ejs@>=0.7.2",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-1.0.0.tgz"
},
Thanks for the fix @jtuulos
Thanks for the PR. Sorry for not having time to look at this. The fix is now published on npm.
Am I doing something wrong here or is markdox not working?
I installed markdox through npm, downloaded this fixture (I assume this is like a sample source file?) and after that I ran
markdox dox-parser.js
from the folder where dox-parser.js was located.A file named output.md got generated but it contained this:
Can you please tell me if I missed something here?
Thanks