added a new item content type: markdown
- emacs editor has an option to select markdown, now it has two planes: one for content editing and the other to show preview - CodeMirror editor updated to 5.64.0 - to convert markdown to html we use showdown https://github.com/showdownjs/showdown (conversion is done on the client side)
This commit is contained in:
@@ -180,9 +180,9 @@ public:
|
||||
bool CheckAbuse(SLog * slog = nullptr);
|
||||
|
||||
// !! dac lepsze nazwy
|
||||
void ReadItemFilterHtml(Item & item);
|
||||
void ReadItemContent(Item & item, const std::wstring & content_type);
|
||||
void ReadItemContentWithType(Item & item);
|
||||
void ReadItemFilterHtml(const std::wstring & html, std::wstring & html_filtered);
|
||||
void ReadItemContent(Item & item);
|
||||
void ReadItemContentType(Item & item);
|
||||
|
||||
// if item.url is not empty and there is not a post variable "url"
|
||||
// then the item.url will not be changed
|
||||
@@ -205,7 +205,6 @@ private:
|
||||
Templates * templates;
|
||||
SessionManager * session_manager;
|
||||
|
||||
std::wstring temp;
|
||||
pt::HTMLParser html_filter;
|
||||
std::wstring link_to_temp;
|
||||
|
||||
|
Reference in New Issue
Block a user