Closed miklb closed 8 years ago
Looks like you have set up a project specific config file, and there is some error in it. Can share your project config file?
Sure. Maybe my custom Front Matter? _mdwriter.cson.txt
So seems everything needs to be in quotes i.e. siteEngine: "jekyll"
, which is what was throwing the error reported. Now I'm getting an error EACCES Permission denied mkdir /~
I already have a _drafts
directory in my Jekyll project.
Great for solving the syntax error. For the 2nd, what do you see in the field Site Directory
in the New Draft dialog?
Are you in your project's root directory? Because project config won't be used if atom open project is not at project's root directory. Then you have to setup the global config, in packages -> markdown-writer config.
In the dialog box it shows Site Directory: ~/path/to/jekyll
(what is set in the mdwriter.cson file) and Create draft at
_drafts/new-file.md`
Not sure I follow about open project at project root directory.
OK, I removed anything in Site Directory:
and it now shows /Users/myuser/path/to/jekyll
and can publish a draft.
Confusing, but can continue testing.
Can try to put /Users/myuser/...
instead of ~/...
? Might be ~
is not handled correctly.
That works.
Thanks. Will look into this.
Attempting to create a new draft with the plugin.
[Enter steps to reproduce below:]
1.Markdown-Writer->New Draft
Atom Version: 1.6.2 System: Mac OS X 10.11.4 Thrown From: markdown-writer package, v2.3.2
Stack Trace
Failed to activate the markdown-writer package
Commands
Config
Installed Packages
Let me know if you need anything else.