Class FileSaver

Reusable functions to save various files to disk with prompts and save UI operations.

System.Object
  MarkdownMonster.Utilities.FileSaver
public class FileSaver : object

Class Members

MemberDescription

Constructor

GetMarkdownSaveFilename

Gets a Markdown Save file name

public static string GetMarkdownSaveFilename(string filename,     string folder)

OpenMarkdownFileFromUrl

public void OpenMarkdownFileFromUrl(string url)

ParseMarkdownSafeTitle

Attempts to parse a title from a Markdown document by looking at YAML title header or the first # markdown tag

public static string ParseMarkdownSafeTitle(string markdown)

ParseMarkdownTitle

Attempts to parse a title from a Markdown document by looking at YAML title header or the first # markdown tag

public static string ParseMarkdownTitle(string markdown)

ParseMarkdownUrl

Tries to fix up Markdown files for common doc and server platforms like Github, Gists, BitBucket and a few others

public string ParseMarkdownUrl(string url)

SaveMarkdownDocumentToFile

Saves a Markdown Document to file with Save UI.

public static bool SaveMarkdownDocumentToFile(MarkdownDocument doc,     bool saveAsEncrypted)

Requirements

Namespace: MarkdownMonster.Utilities
Assembly: markdownmonster.exe

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic