I'm looking for some kind of text-parser for ASP.NET that can make HTML from some style of text that uses a special format. Like in Wiki's there is some special syntax for headings and such. I have tried to look on google, but I did not found anything for .NET.
Do someone know about a library for .NET that can parse the text to HTML wiki-style? I't don't have to be the same syntax as a Wiki? If no, how whould be the best way to design such a system your self?
Thanks in advance
Most wikis define a set of formatting rules to convert plain text into HTML. Some wikis (like this one) also allow some HTML "tags", like <b>, <i>, and <pre> within a page. (Some wikis use raw HTML instead of special formatting rules.)
The font you see on this page and all other pages in the Wiki is the default font. You can change the font by using the attribute "font-family:font value". Word processors provide a variety of font values you can use. For example, you can use Times New Roman, Sans-serif, Ariel, Tahoma, Algerian, etc.
This Manual of Style (MoS or MOS) is the style manual for all English Wikipedia articles (though provisions related to accessibility apply across the entire project, not just to articles).
This kind of text markup used in the MediaWiki (Wikipedia) project is called wikitext.
how about the Markdown that StackOverflow uses?
http://daringfireball.net/projects/markdown/
from their home page:
Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With