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)
- Table Editor window opens at bottom of screen HOT 17
- Suggestion: ChangeLog link in Help menu HOT 1
- Cursor jumps with scroll sync set and preview closed HOT 1
- Not showing original file content when it has backup files HOT 11
- Document Outline unreadable in Dark mode HOT 9
- Feature Request. .ahk Autohotkey syntax highlight HOT 3
- Renaming file opens the file empty sometimes HOT 14
- Statistics in footer bar don't change when opening a file HOT 2
- When tab focus changes, change the focus in the file selector on the left as well HOT 3
- When creating a new file and pasting, the edit window width changes HOT 3
- Right-clicking a file should not open, should only show context menu HOT 7
- Repeated ctrl-f or ctrl-h should jump to next occurrence HOT 8
- Can open file multiple times HOT 5
- FB refresh icon shows selected when unselecting FB sync HOT 1
- Have a way to keep read-only files open in tabs (pin?) HOT 2
- Regression: mouse drag errors? HOT 1
- Different context menu after first opening MM HOT 1
- Renaminng renames wrong file HOT 2
- Problems with HTML preview HOT 2
- Feature Request: Improve Embed Link dialog (`Ctrl+K`) when clipboard contains HTML link HOT 7
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.