AppModel.ActiveTabFilename

Returns the active Tab's file name - this can either be the name of a Markdown Document editor or just a filename or URL from a preview tab.

public readonly string ActiveTabFilename