created md2html compiler module

for now it is watching md files and is synchronized with other modules
remains the whole compiling process to code
This commit is contained in:
Bachir Soussi Chiadmi
2017-05-30 09:57:28 +02:00
parent f73918e5b5
commit 01bd78e2e3
3 changed files with 53 additions and 3 deletions
+3 -1
View File
@@ -22,7 +22,7 @@ from PyQt5.QtWebKitWidgets import QWebPage, QWebView, QWebInspector
import json
import git
from classes import server, sasscompiler, design, content
from classes import server, sasscompiler, design, content, md2html
class Core():
def __init__(self, parent=None):
@@ -44,6 +44,7 @@ class Core():
self.server = server.Server(self)
self.sasscompiler = sasscompiler.Compiler(self)
self.contentcompiler = md2html.Compiler(self)
@property
def mainwindow(self):
@@ -110,6 +111,7 @@ class Core():
self.cwd = cwd
self.server.reload()
self.sasscompiler.reload()
self.contentcompiler.reload()
# if not self.tempcwd:
self._mw.setWindowTitle("Cascade "+self.cwd)