convert orgmode to html based on python.
Project description
- Author:
jianglin
1 org-python
An orgmode parser for converting orgmode to html based on python.
1.1 quickstart
pip install org-python
from orgpython import to_html
text = '''* heading
- list1
- list2
- list3
- list4
- list5
| th1-1 | th1-2 | th1-3 |
|--------+--------+--------|
| row1-1 | row1-2 | row1-3 |
| row2-1 | row2-2 | row2-3 |
| row3-1 | row3-2 | row3-3 |
'''
print(to_html(text, toc=True, offset=0, highlight=True))
1.2 feature
☑ toc
☑ heading
* headind 1 ** headind 2 *** headind 3 **** headind 4 ***** headind 5 ****** headind 6
☑ unordered_list
- list - list - list + list - list
☑ ordered_list
1. list 2. list 3. list
☑ bold
*bold*
☑ italic
**italic**
☑ underlined
_italic_
☑ code
=code=
☑ delete
+delete+
☑ image
[[src][alt]]
☑ link
[[href][text]]
☑ begin_example
☑ begin_src
☑ begin_quote
☑ table
| th1-1 | th1-2 | th1-3 | |--------+--------+--------| | row1-1 | row1-2 | row1-3 | | row2-1 | row2-2 | row2-3 | | row3-1 | row3-2 | row3-3 |
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 Distribution
org-python-0.3.2.tar.gz
(9.7 kB
view details)
File details
Details for the file org-python-0.3.2.tar.gz
.
File metadata
- Download URL: org-python-0.3.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4dd6c93ecad2e8b27480c0c6abe441d4c414520c903f9110e0eb7e23449e885 |
|
MD5 | d0be7a98c97bdffbb94011db3f2fdf2b |
|
BLAKE2b-256 | e5cdbc2aba5b36b39aa025dff63e980a442d02759a73c25d386d1646f9f659a2 |