Bear & Markdown Metadata
I create proposals in Bear utilizing markdown metadata to streamline the project details through fill-in tags (ex. [%Client]). I use Marked 2 to style the documents and export to PDF.
Recently, the Bear integration seemed to break, so I changed from the MAS version and purchased the directly distributed version. Now, when I share a Bear note with Marked, the metadata header block remains in the document and the fill-in tags aren't filled in. They remain as [%Client]
.
If I export from Bear to a .md file, then upload to Marked, it behaves as expected. I'm guessing I have an incorrect setting somewhere, but after a changing & refreshing every setting that looks relevant, I can't find the solution.
Any ideas on what I could be overlooking?
- Test_Engagement_Agreement.md 5.66 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 22 Sep, 2020 02:48 PM
Assuming you have MultiMarkdown selected as your processor, this is
quite likely due to a recent change in the way Bear formats the preview
it sends to Marked. I have the developer inserting his own metadata
comment in the markdown text to let me know it's coming from Bear, and
that's likely breaking the rest of the metadata (by adding a newline
before it). I'll have to work with the dev to resolve this.
I'll do some testing to confirm my suspicion, but that's the most likely
explanation. We didn't expect anyone to be using MultiMarkdown metadata
in Bear...
-Brett
2 Posted by Chip Morris on 28 Sep, 2020 03:45 PM
I'm having a probably related problem using Bear in Fountain mode. Marked2 is clearly picking up some header info from Bear and then messing up the YAML-like header material that starts every Fountain file.
Two front pages for comparison attached.
Otherwise, Marked2 is doing a pretty good job with Fountain format.
--chip
Support Staff 3 Posted by Brett on 28 Sep, 2020 05:43 PM
Another unexpected case, writing Fountain in Bear. I'm currently working on a method for Bear to declare it's the source without using metadata, but it's going to take me at least a week to get it implemented, and Bear will have to update as well, so there's no immediate solution. It will be fixed soon, though.
Thanks,
Brett
4 Posted by Chip Morris on 28 Sep, 2020 05:52 PM
Bravo. No rush.
BTW - I read your posts on your bipolar life. Very touching and brave. Thank you!