ApplicationConfiguration Class

Application level configuration for Markdown Monster

System.Object
   Westwind.Utilities.Configuration.AppConfiguration
      MarkdownMonster.ApplicationConfiguration

Class Members

MemberDescription
Constructor
AddRecentFile
public void AddRecentFile(string filename)
Backup Backs up configuration data to a backup file in the CommonFolder. Filename includes backup date and time
public string Backup()
CleanupRecentFilesAndFolders Removes missing files and folders from the recent lists
public void CleanupRecentFilesAndFolders()
FindCommonFolder Sets the CommonFolder for finding configuration settings and Addins etc.
public string FindCommonFolder(bool internalPathOnly)
OnCreateDefaultProvider
public IConfigurationProvider OnCreateDefaultProvider(string sectionName, object configData)
OnInitialize
public void OnInitialize(IConfigurationProvider provider, string sectionName, object configData)
OnPropertyChanged
public void OnPropertyChanged(string propertyName)
Reset Resets configuration settings by deleting the configuration file and then exits the application.
public void Reset(bool noExit, bool restart)
Write Writes the configuration data to the specified filename.
public bool Write()
WriteAsString
public string WriteAsString()
AddinsFolder
AlwaysUsePreviewRefresh Determines whether the Preview browser always does a full page refresh when the preview is updated. This can result in the preview being slower, more janky and potentially not syncing correctly all…
ApplicationTheme Dark or Light overall application theme selection for Markdown Monster. Requires an application restart to fully take effect.
ApplicationUpdates Configuration object that olds info about how applications are updated
AutoSaveBackups If set, automatically saves documents as yourFile.md.saved.bak in the same folder as the original document. Untitled documents are saved to %temp%\untitled.saved.md. Backup files are deleted when…
AutoSaveDocuments If set, automatically saves the active document in the background whenever changes are made. AutoSaveDocuments takes precedence over AutoSaveBackups
CommonFolder Common folder where configuration files are stored. Can be moved to an alternate location such as DropBox or OneDrive to allow sharing. IMPORTANT: The folder has to exist and the change is not…
DisableAddins Disables all addins from loading
DisableSplashScreen Starts up the application without showing the Splash screen.
DistractionFreeModeHideOptions String that holds a comma delimited list of values: toolbar,statusbar,menu,tabs,preview Any of the elements provided are hidden in distraction free mode. Additionally you can also…
Editor Editor Configuration Sub-Settings
EditorExtensionMappings Editor to editor syntax mappings that maps file extensions to specific Ace Editor syntax formats. If a file with the given extension is opened it uses the specified syntax highlighting in the…
EditorTheme The theme used for the editor. Can be any of the available AceEditor themes which include twilight, vscodedark, vscodelight, visualstudio, github, monokai etc. Themes available based on files…
EnableVoiceDictation If set enables voice dictation in the editor which by default is activated with the F4 key. F4 opens the mic for listening and keeps it open until your press ESC to stop. Text is captured and…
Experimental
ExternalEditorPath Allows you to specify an internal editor to open files externally. There are a few tasks like HTML editing that are better suited to external editors.
ExternalPrograms List of External Programs you can configure to open in Markdown Monster from the Active document, or a file or folder in the Folder Browser. Can be an executable, or URL to navigate to with options…
FolderBrowser Configuration Setting for the Folder Browser
Git Configuration Settings for Git Integration
Images
InternalCommonFolder
IsDarkTheme For binding purposes
IsDocumentOutlineVisible Determines if the Document Outline sidebar is visible.
IsPreviewVisible Determines whether the preview browser is visible
LastFolder Last folder used when opening a document
LastLinkExternal Remembers last Is link External setting when embedding links
LastLinkFolder Remember the last folder used for linking a file in the the editor.
LastUseReferenceLinks Determines whether links are embedded as reference links at the bottom of the current document rather than explicit links
LeftSidebar
LocalAppDataFolder
Markdown
MaxDocumentOutlineLevel Maximum outline level that is rendered based on H1,H2,H3 etc. tags. Default is 4.
OpenDocuments A collection of the open Markdown documents.
OpenFolderCommand Command Processing for OpenFolder
OpenInPresentationMode If set this property controls whether the editor is opened in presentation mode which shows only the preview pane with the editor collapsed.
PdfOutputWindow
Preview Preview Configuration Sub-Settings
RecentDocuments List of recently opened files. Files opened and selected are added to the beginning of the list.
RecentDocumentsLength Determines how many items to display in the recent documents list
RememberNumberOfLastDocuments Determines how many of the last documents that were open when Markdown Monster was last shut down are re-opened when restarted. 0 means no documents are opened. Documents here are opened in addition…
ShowGeneratedOutputInShell Flag that sets the default for output that is generated and can then be displayed. Used in Html Viewer for now.
ShowVersionNumberInTitle Determines whether MM shows the version number in the title of the main window.
StatusMessageTimeout Timeout used on Statusbar messages
System
TerminalCommand Command Processing Executable to bring up a terminal window using a command and arguments. Examples (Windows Terminal, PowerShell, Command): wt.exe -d "{0}" powershell.exe -NoExit…
TerminalCommandArgs Terminal executable arguments to pass to bring up terminal in a specific folder. {0} represents folder name.
TitlebarDisplay Determines how the filename is displayed in the window title bar.
ToolWindows
UseSingleWindow Determines whether Markdown Monster runs as a Singleton application where documents are always opened in the same single Markdown Monster instance. If not set, launching MM opens a new Markdown…
VoiceDictationLanguage A language code that determines the language used for Voice Dictation Examples: en-US, de-DE, fr-FR, es-ES Default is empty which uses the active Windows language at MM startup.
WebBrowserPreviewExecutable Web Browser Preview Executable - use this to force a specific Web browser for Web links, since Windows often breaks default browser associations. This forces a specific browser. Also allows…
WebBrowserSearchEngine Specifies which search engine is popped up for interactive searches spawned from MM.
WebServer
WindowPosition Hold last window position
Namespace: MarkdownMonster

Assembly: MarkdownMonster.dll