A script to convert wordpress.com html into markdown.
Project description
Wordpress To Markdown
=====================
This is a script to convert wordpress.com style html (including sourcecode) into github flavour markdown.
Script Usage
============
usage: Wordpress2Markdown [-h] [-f] wordpress_html
This script converts wordpress.com html into markdown syntax.
positional arguments:
wordpress_html
optional arguments:
-h, --help show this help message and exit
-f, --file Read the Wordpress.com html from a file
How it works
============
This passes over the text several times, converting a different
construction on each pass.
Passes
------
1. <h[1,2,3,4,5,6]> tags -> #, ##, ###, ####, #####, ###### pairs
2. <a href="url">title</a> -> \[title](url)
3. [sourcecode language="lang"] -> ```lang
4. [/sourcecode] -> ```
5. <!-- --> comments deleted, mainly due to <!--more--> tags.
Note converting [sourcecode] tags currently ignores any option but language.
Unimplemented features:
-----------------------
- ordered/unordered lists
- images
=====================
This is a script to convert wordpress.com style html (including sourcecode) into github flavour markdown.
Script Usage
============
usage: Wordpress2Markdown [-h] [-f] wordpress_html
This script converts wordpress.com html into markdown syntax.
positional arguments:
wordpress_html
optional arguments:
-h, --help show this help message and exit
-f, --file Read the Wordpress.com html from a file
How it works
============
This passes over the text several times, converting a different
construction on each pass.
Passes
------
1. <h[1,2,3,4,5,6]> tags -> #, ##, ###, ####, #####, ###### pairs
2. <a href="url">title</a> -> \[title](url)
3. [sourcecode language="lang"] -> ```lang
4. [/sourcecode] -> ```
5. <!-- --> comments deleted, mainly due to <!--more--> tags.
Note converting [sourcecode] tags currently ignores any option but language.
Unimplemented features:
-----------------------
- ordered/unordered lists
- images
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
wordpress2markdown-0.40.zip
(7.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wordpress2markdown-0.40.win32.exe
(202.7 kB
view details)
File details
Details for the file wordpress2markdown-0.40.zip.
File metadata
- Download URL: wordpress2markdown-0.40.zip
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61345d25f6435f4decea2579f60f7bba0308ce0fa8375d68a7cae9efaace2ae9
|
|
| MD5 |
12d852f564d5af3451826170e3aa44cf
|
|
| BLAKE2b-256 |
25c60e0f4e035a31af9b00ceee9c68d160b42e7f07ecffd2ec4580b9dab205aa
|
File details
Details for the file wordpress2markdown-0.40.tar.gz.
File metadata
- Download URL: wordpress2markdown-0.40.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44b0f8e71026d94a57c4ed38e36d04e92f45acc7dccf8290b688c357ce3ef910
|
|
| MD5 |
206faa11a72d86e85e15d3a6934a1c85
|
|
| BLAKE2b-256 |
5b52c7f5ced8c4132b2a607d1d21192f1a584c983040155e3212043bfca605a9
|
File details
Details for the file wordpress2markdown-0.40.win32.zip.
File metadata
- Download URL: wordpress2markdown-0.40.win32.zip
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e44577bcae7afb9bc435d00d20102751ef9a0f3f6128dedf524b133af6435cae
|
|
| MD5 |
60573bbdea083c1d33451bb65815399e
|
|
| BLAKE2b-256 |
dad79d894871d62394c725656fc2fefb202d68689182f37ed2444750985c9c70
|
File details
Details for the file wordpress2markdown-0.40.win32.tar.gz.
File metadata
- Download URL: wordpress2markdown-0.40.win32.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a112814d95c10c30f473b2b53e0bbc3881bc2395bdc205ebff68880cb7116e8
|
|
| MD5 |
3a66dc4544dce210e1e6c201594f7f1d
|
|
| BLAKE2b-256 |
b9e785514ab720b06f68335abad6465b9a1620322c503baa4526c7f47f7f27b4
|
File details
Details for the file wordpress2markdown-0.40.win32.exe.
File metadata
- Download URL: wordpress2markdown-0.40.win32.exe
- Upload date:
- Size: 202.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8179398a3291b29eea5daa538cc0e4380129bee8e0a58fabcf41fd4ec59fa6
|
|
| MD5 |
05095cce8e9e8313ba5a4ee8e5f3be1a
|
|
| BLAKE2b-256 |
78103031aa8877abfc7ce18c2687424ddfaa1ba9bfad4b42f9892312be9a9f0e
|