diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css
index 8b91364a..c2be6b12 100644
--- a/gulp/res/css/style.css
+++ b/gulp/res/css/style.css
@@ -140,6 +140,11 @@ object {
border-style: solid none;
}
+.title {
+ color: maroon;
+ font-weight: bold;
+}
+
.redtext {
color: maroon;
}
diff --git a/helpers/markdown.js b/helpers/markdown.js
index e056568b..36c1d41e 100644
--- a/helpers/markdown.js
+++ b/helpers/markdown.js
@@ -3,7 +3,8 @@
const Posts = require(__dirname+'/../db/posts.js')
, greentextRegex = /^>([^>].+)/gm
, redtextRegex = /^<([^<].+)/gm
- , boldRegex = /==(.+)==/gm
+ , boldRegex = /""(.+)""/gm
+ , titleRegex = /==(.+)==/gm
, italicRegex = /__(.+)__/gm
, linkRegex = /https?\:\/\/[^\s]+/g
, spoilerRegex = /\|\|(.+)\|\|/gm
@@ -31,6 +32,11 @@ module.exports = (board, thread, text) => {
return `${bold}`;
});
+ //titles
+ text = text.replace(titleRegex, (match, title) => {
+ return `${title}`;
+ });
+
//italic
text = text.replace(italicRegex, (match, italic) => {
return `${italic}`;