Consider path more carefully for when markdown-server is downloaded from pip
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import os
|
||||
|
||||
ms_encoding = 'utf-8'
|
||||
ms_port = '8009'
|
||||
ms_host = 'localhost'
|
||||
ms_root = './'
|
||||
ms_debug = True
|
||||
ms_reloader = True
|
||||
html_extension = '.html'
|
||||
markdown_root = 'markdownserver/resources/markdown/'
|
||||
html_root = 'markdownserver/resources/html/'
|
||||
css_root = 'markdownserver/resources/css/'
|
||||
root_path = os.path.dirname(__file__)
|
||||
resource_dir = os.path.join(root_path,'resources')
|
||||
markdown_dir = os.path.join(resource_dir,'markdown')
|
||||
html_dir = os.path.join(resource_dir,'html')
|
||||
css_dir = os.path.join(resource_dir,'css')
|
||||
css_name = 'github.css'
|
||||
markdown_type = 'gfm'
|
||||
css_path = os.path.join(css_dir,css_name)
|
||||
markdown_type = 'gfm'
|
||||
Reference in New Issue
Block a user