Skip to main content

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 org_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(org_to_html(text,offset=0))

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

This version
History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
org-python-0.2.0.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page