FileSaver Class
Reusable functions to save various files to disk with prompts and save UI operations.
MarkdownMonster.Utilities.FileSaver
Class Members
| Member | Description | |
|---|---|---|
| Constructor | ||
| GetMarkdownSaveFilename | Gets a Markdown Save file name
public string GetMarkdownSaveFilename(string filename, string folder)
|
|
| OpenMarkdownDocumentFromUrl | Tries to retrieve Markdown Content from the specified URL. Attempts to fix up URLs for things like master/main and various combinations of README.md
public MarkdownDocument OpenMarkdownDocumentFromUrl(String& url)
|
|
| ParseMarkdownSafeTitle | Attempts to parse a title from a Markdown document by looking at YAML title header or the first # markdown tag
public 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 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)
|
|
| SaveBitmapAndLinkInEditor | Saves a bitmap image to file using a standard mechanism that prompts for a filename (unless you pass one in), optionally compresses the file and by default embeds a link at cursor position. Overrides…
public Task
|
|
| SaveMarkdownDocumentToFile | Saves a Markdown Document to file with Save UI.
public Task
|
|
| SaveMarkdownFileFromUrl | Saves a markdown document captured from a URL to a file prompting for a filename to save to
public Task SaveMarkdownFileFromUrl(string url)
|
|
Assembly: MarkdownMonster.dll
