writemonkey / wm3

165 stars 5 forks source link

name function with pandoc and a few other things. #378

Closed tomasrei closed 3 years ago

tomasrei commented 3 years ago

First: Love love love WM! Now two things that maybe could use some looking over :) Just suggestions.

When converting .md to pdf with pandoc, pandoc gives an error when the document is named above the YAML like this:

name: this is the title
---
YAML
---

It's of course not the biggest deal - but somewhat repetitive to remove the name: and save everytime you want to do a conversion.

The other thing is when I work inside a project, it can be a bit bothersome to open some document that's outside that project. Wouldn't it make sense to keep documents and projects in the same pane and put something like [...] on the top of the existing File/Heading pane and Get rid of the Document/Project pane?

Cheers!

tomasrei commented 3 years ago

SOLUTION: just put a space between the first row and YAML. Like this:

name: this is the title

---
YAML
---