# Previewing Scrivener document with Scrivener inline footnotes

#### tmournet

05 Feb, 2013 09:22 PM

Hello,

I have encountered an issue which I cannot find any mention of here on the forums...

In writing with Scrivener - I use 'inline' footnotes. When previewing the Scrivener document, only some of the footnotes are previewed correctly. Others are not - and leave the Scrivener footnote markers in the Marked MMD preview. These Scrivener footnote markers look like follows: {\Scrv_fn=”Pluralitas non est ponenda sine necessitate.”\end_Scrv_fn}. This should be previewed in Marked as a footnote reference hyperlinked to the actual text of the footnote at the bottom of the document. Some Scrivener footnotes preview correctly, others do not. I cannot find a correlation between which preview correctly in Marked and which do not.

ATTACHED ARE TWO SCREENSHOT PHOTOS which show a paragraph in Scrivener (scrivenerdocument.png) - and then, the same paragraph in Marked (markedpreview.png). A picture speaks a thousand words.
Thanks,
Terence

1. Support Staff Posted by Brett on 05 Feb, 2013 09:27 PM

Footnote support is limited. If you're writing in MultiMarkdown, it's
assumed that you'll use MultiMarkdown footnotes. I catch the ones that are
predictable, but some footnote formatting is very difficult to accurately
search for and replace without breaking the rest of the document.

2. Posted by tmournet on 06 Feb, 2013 01:09 AM

Thanks for this Brett. Probing further - I figured out what is the issue. Perhaps it would help you moving forward. The issue seemed to be with the use of 'smart quotes' in the Scrivener text. That is, once I replaced all 'smart/fancy' quotes with 'plain' quotes (both single and double quote), then Marked was able to preview the Scrivener document - including all footnotes - correctly.

Thanks -and perhaps this will assist you in the future.
Terence

3. Support Staff Posted by Brett on 06 Feb, 2013 03:35 AM

Thanks for the tip, I'll try to correct that in the regex. I should put together a guide for Scrivener/Marked work, as things like smart quotes and Scrivener footnotes are probably not known as best-avoided.

4. Posted by Carsten on 04 Mar, 2013 07:21 AM

Hello,

if I am using Scrivener's "inline-footnote" they ares displayed correctly in Marked. But if I am using Scrivener's "Footnote" - button they are not. If I export to Latex via MMD all "Footnotes" are correctly transformed. Is there a way I can view "Footnote" in Marked using Scrivener's "Footnote" - button?

Greetings

5. Support Staff Posted by Brett on 10 Mar, 2013 02:09 AM

Nope. Marked can't parse the internal Scrivener footnotes.

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

### »

• scrivenerdocument.png 73.7 KB
• markedpreview.png 38.2 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

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 07 May, 2021 12:32 AM Opening/previewing a file from BBEdit 06 May, 2021 11:56 PM Marked2 Stuck Loading for all but trial version 02 May, 2021 07:15 PM Problem while displaying a link with alternate text and # in the URL AND alternate text. 30 Apr, 2021 08:50 AM Custom styles from the Style Gallery fail to install with Install button 28 Apr, 2021 02:46 PM Marked 2 not a Universal Binary (Apple Silicon)

## Recent Articles

 Intra-document links in exported PDFs Using Ulysses with Marked Fenced code blocks inside indented code blocks Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked