Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tomd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Чумбаев Максим
tomd
Commits
03d5b839
Commit
03d5b839
authored
May 27, 2017
by
gaojiuli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add badges
parent
95dfbba4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
README.md
README.md
+4
-0
tomd.py
tomd.py
+1
-2
No files found.
README.md
View file @
03d5b839
# tomd
Convert HTML to Markdown.
![
[License
](
https://pypi.python.org/pypi/tomd/
)
](https://img.shields.io/pypi/l/tomd.svg)
![
[Pypi
](
https://pypi.python.org/pypi/tomd/
)
](https://img.shields.io/pypi/v/tomd.svg)
![
[Python
](
https://pypi.python.org/pypi/tomd/
)
](https://img.shields.io/pypi/pyversions/tomd.svg)
## Road map
-
[
x
]
Basic support
...
...
tomd.py
View file @
03d5b839
...
...
@@ -45,8 +45,7 @@ BlOCK_ELEMENTS = {
'p'
:
'<p
\
s.*?>(.*?)</p>'
,
'p_with_out_class'
:
'<p>(.*?)</p>'
,
'thead'
:
'<thead.*?>(.*?)</thead>'
,
# 'tbody': '<tbody.*?>(.*?)</tbody>',
'tr'
:
'<tr>(.*?)</tr>'
,
'tr'
:
'<tr>(.*?)</tr>'
}
INLINE_ELEMENTS
=
{
...
...
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