Document goes blank and shows <null>

Mike Erickson's Avatar

Mike Erickson

07 Sep, 2021 06:12 PM

I am having an issue when editing a markdown document, which is being displayed in Marked, receiving a message and document is empty. My only cure is to close and reopen the document.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Ya, that would be nice if I could make it happen consistently
  2. I will continue testing this to see if I can make it happen
  3. But for now, all I can do is report it to you and supply details below

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit) Marked 2 1022 (Direct)

macOS Version: 11.5.2

additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 103
defaultProcessor: MultiMarkdown
enableMiniMap: NO
excludeBlockQuotesFromCounts: YES
excludeFootnotesFromCounts: YES
excludeVerbatimFromCounts: YES
excludeCaptionsFromCounts: YES
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: NO
includeKatex: NO
limitTextWidth: NO
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: NO
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
customMarkdownProcessor:
useCustomPreprocessor: NO
customPreprocessor:
useFirstH1AsPrintTitle: YES

  1. Support Staff 1 Posted by Brett on 07 Sep, 2021 06:23 PM

    Brett's Avatar

    In what application is the document being edited at the time it
    disappears?

    Thanks,
    Brett

  2. 2 Posted by Michael Erickso... on 07 Sep, 2021 06:44 PM

    Michael Erickson's Avatar

    Hey Brett

    I am eating the markdown in VSCode - Insiders

    Maybe one of these days, you and Fletcher will get your new Markdown Editor done, I will be happier to use that.

    I sometimes use Macdown, but it is pretty “crude” and I found the rendered markdown is often different that what I use when using Marked (Github Flavored)

    I would be more than happy to remove Macdown completely

  3. Support Staff 3 Posted by Brett on 10 Sep, 2021 03:12 PM

    Brett's Avatar

    VS Code shouldn't be removing the file, and if it were, it would tell
    you the file was deleted, not show null. I'm not sure why that's
    happening. When it does happen, does hitting ⌘R (command-R) bring it
    back?

  4. 4 Posted by Michael Erickso... on 10 Sep, 2021 03:14 PM

    Michael Erickson's Avatar

    The file is definitely not removed. I will pay closer attention next time it occurs and try and give you more information.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

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