-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
32 lines (26 loc) · 1.26 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
BBCodes is a library that provides an easy way to use BBCode.
Features
- Easily extensible AST type
- Multiple options to customize parser, such as how to treat syntax errors
- Also has an emoji/smiley parser!
- Makes it easy to refactor BBCode, with support for outputing the AST into
1. HTML (builtin to parser and Nodes)
2. BBCode (yes, it can re-create BBCode from the Nodes. Useful for refactoring)
3. Xml Tree (XML representation of the BBCode AST)
4. XML (an xml representation)
- Allows you to write web pages in BBCode
- Small
- Only reference is on System.Web for the web handler
- Compiled DLL is under 50 KB
- Conforms to the BBCode standards (from bbcode.org/reference.php)
- more coming soon!
To Use the WebHandler:
Create a new ASP.NET web application project.
Change the web.config to include the following within <system.web>:
<httpHandlers>
<add verb="*" path="*.bbc" type="BBCodes.BBCodeWebHandler,BBCodes"/>
<!-- do this for all BBCode page types that you want to use, such as bbc, bbcode, etc -->
</httpHandlers>
Then add a reference to the BBCodes.dll file,
and finally write your BBCode page as a text file with a *.bbc or whatever extension you have specified
Copyright (C) 2012 mlnlover11 Productions/LoDC under the WTFPL license.