-
-
Notifications
You must be signed in to change notification settings - Fork 196
3. Create a blog post
After configuring DasBlog Core you can start creating, editing and publishing blog posts!
Dasblog Core supports a basic in browser blogging experience by logging in and navigating to post creation page (...post/create).
Dasblog Core supports:
- Adding new categories
- Future post dates
- Uploading and inserting images
- Disallowing comments
You can choose between several Web post edit controls (TinyMCE, NiceEdit, Froala and a Html Text Area control) defined in the Site Admin page (.../admin/settings).
Of course you can also use a blogging tool like Open Live Writer to create and edit blog posts.
The credentials required when adding a blog are the same ones used when logging into the site. Account setup instructions can be found here.
If you are publishing multi line code snippets (xml, html, c#, etc.) or some other text that needs a strict syntax and/or specific formatting we strongly suggest using the <pre>
tag .
The content of the <pre>
tag will need to be HTML-escaped for each of the following characters & < >
.
& &
< &lt;
> &gt;
Here is an example of XML snippet I want to display as part of my blog post:
<xml>Details</xml>
This is the HTML code I need to make that happen:
<pre>&lt;xml&gt;Details&lt;xml&gt;</pre>
Here is a C# code example I want display:
List<string> val = null;
That code becomes:
<pre>List&lt;string&gt; val = null;
Finally, if you also want code coloring or numbering I would suggest a code highlighter. My preferred code highlighter is EnlighterJS, an open source syntax highlighter written in pure JavaScript.
If you have additional questions or concerns please submit an issue.