Comments (5)
Can you try the regular Markdown Parser, not the DocFx one?
It looks to me based on the error message, the problem occurs in the DocFx parser (which I don't control entirely - it's a libary that sits ontop of the MarkDig Engine used as the main parser).
from markdownmonster.
FWIW, if I run this with the regular parser it works fine:
Then tried it with the DocFx parser and that's not wrorking.
I took a quick look and the problem is that the DocFx parser requires a bunch of context in order to render (ie. an ActiveDocument) which is why this is failing from the CLI but works when you render from the editor - there's no active document at that time when running from the CLI. I'll need to see if I can fix this, or whether I turn off the output generation for DocFx.
from markdownmonster.
Yes its working fine now. DocFX was indeed causing the issue ! Thanks for that !
from markdownmonster.
I took a quick look and the problem is that the DocFx parser requires a bunch of context in order to render (ie. an ActiveDocument) which is why this is failing from the CLI but works when you render from the editor - there's no active document at that time when running from the CLI. I'll need to see if I can fix this, or whether I turn off the output generation for DocFx.
It actually works from within the UI - it's only in the CLI it's failing.
I think the solution is to create the actual document from the markdown file before passing to the parser.
from markdownmonster.
The problem is that the DocFx parser requires additional state that is not available in the CLI. For now I've disabled exports from the CLI if the DocFx parser is active along with a message:
If the DocFx parser output is required, it's still possible through the Main UI.
from markdownmonster.
Related Issues (20)
- Error when dragging an *.md file from Folder Browser Panel to Page HOT 3
- How to apply the KeyBinding Manager to invoke an external program configured for the `OpenWith...` command? HOT 8
- Feature Request: Support for `[[_TOC_]]` HOT 13
- Feature Request: Add `Export to...` button to Table Editor
- How to enter a tab character (`\t`) in the "Import CSV to Markdown Table" dialog? HOT 1
- Hello! When will version 3.3 be released? HOT 3
- MM Issues and Ideas HOT 4
- Outline numbering in preview & TOC HOT 4
- Minimum tab width for easier closing of many tabs HOT 2
- Click-and-drag moving moves wrong file
- Double click opens file twice HOT 3
- Opening nested folder levels often only works with arrows
- Creating last folder in a tree sorts incorrectly HOT 1
- Moving a folder shows a ".." subfolder that leads to c:\ HOT 1
- Ctrl-B bolding behavior inconsistent HOT 2
- Ctrl-W closing a window does not refocus input HOT 2
- Can't add external handler program HOT 6
- Feature Request: Add `Reload` command HOT 17
- Issue with BeyondCompare and File Save Operations HOT 4
- Bug: Spellings correction uses wronge replacement positions when using special character (') single quote HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdownmonster.