Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Denis Salem
VenC
Commits
1918b0dc
Commit
1918b0dc
authored
Nov 19, 2018
by
Denis Salem
Browse files
replace markdown with markdown2
parent
1a4c3955
Changes
5
Hide whitespace changes
Inline
Side-by-side
changelog.md
View file @
1918b0dc
...
...
@@ -136,9 +136,11 @@
DONE | Support for migration.
DONE | Catch UnicodeEncodeError.
DONE | Serv page.
DONE | Replace python-markdown by markdown2
WIP | Add support for Atom feed.
TODO | Support ForPage in entries thread.
TODO | Blacklist user defined patterns from entry.
WIP | Add support for Atom feed
.
TODO | Update command help with
.
TODO | Open with navigator manual.
TODO | Client-side search engine.
TODO | Fix unit test.
...
...
src/setup.py
View file @
1918b0dc
...
...
@@ -60,7 +60,7 @@ setup(name='VenC',
install_requires
=
[
"docutils"
,
"latex2mathml"
,
'markdown'
,
'markdown
2
'
,
'pyyaml'
,
'Pygments'
],
...
...
src/venc-blog-migration
View file @
1918b0dc
...
...
@@ -118,10 +118,10 @@ new_keys = {
"disable_single_entries"
:
False
,
"path_encoding"
:
"utf-8"
,
"code_highlight_css_override"
:
False
,
"server_port"
:
False
,
"server_port"
:
8888
,
"disable_rss_feed"
:
False
,
"disable_atom_feed"
:
False
,
"feed_lenght"
:
5
"feed_lenght"
:
5
}
new_path_keys
=
{
...
...
src/venc2/commands/serv.py
View file @
1918b0dc
...
...
@@ -26,5 +26,9 @@ def serv_blog(argv=list()):
except
ValueError
:
die
(
messages
.
server_port_is_invalid
.
format
(
blog_configuration
[
"server_port"
]))
except
KeyboardInterrupt
:
httpd
.
server_close
()
except
FileNotFoundError
:
httpd
.
server_close
()
src/venc2/patterns/processor.py
View file @
1918b0dc
...
...
@@ -18,7 +18,7 @@
# along with VenC. If not, see <http://www.gnu.org/licenses/>.
import
cgi
import
markdown
import
markdown
2
as
markdown
import
venc2.l10n
import
venc2.helpers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment