MarkdownDocument.Filename

Full path to the Markdown file. If it's a new, unsaved file the value is 'untitled'

public string Filename