Bear & Markdown Metadata

Rob Bettis's Avatar

Rob Bettis

22 Sep, 2020 02:35 PM

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?

  1. Support Staff 1 Posted by Brett on 22 Sep, 2020 02:48 PM

    Brett's Avatar

    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...


  2. 2 Posted by Chip Morris on 28 Sep, 2020 03:45 PM

    Chip Morris's Avatar

    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.


  3. Support Staff 3 Posted by Brett on 28 Sep, 2020 05:43 PM

    Brett's Avatar

    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.


  4. 4 Posted by Chip Morris on 28 Sep, 2020 05:52 PM

    Chip Morris's Avatar

    Bravo. No rush.

    BTW - I read your posts on your bipolar life. Very touching and brave. Thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • 5.66 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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