nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.MIME.Html / Extensions

Extensions

Full name Microsoft.VisualBasic.MIME.Html.Document.Extensions Assembly Microsoft.VisualBasic.MIME.Html Members 3

01 Syntax

Microsoft.VisualBasic.MIME.Html.Document.Extensions

02 Methods

NameOverloadsSummary
Pagebreak 1 Since Markdown accepts plain HTML and CSS, simply add this line wherever you want to force page break.
StripHTMLSafely 1 Strip out HTML tags while preserving the basic formatting
StripHTMLDirectly 1 Strip out HTML tags while preserving the basic formatting

03 Members

method Pagebreak #
Pagebreak

Since Markdown accepts plain HTML and CSS, simply add this line wherever you want to force page break.

 <div style="page-break-after: always;"></div>

If your Markdown editor have trouble exporting PDF correctly, first Try To export As HTML, Then open With your browser And print As PDF.

https://stackoverflow.com/questions/22601053/pagebreak-in-markdown-while-creating-pdf#29642392

method StripHTMLSafely #
StripHTMLSafely(String)

Strip out HTML tags while preserving the basic formatting

Parameters
NameTypeDescription
sourceString

-

method StripHTMLDirectly #
StripHTMLDirectly(String)

Strip out HTML tags while preserving the basic formatting

Remarks
Parameters
NameTypeDescription
sourceString

-