Giter VIP home page Giter VIP logo

org-python's Introduction

org-python

An orgmode parser for converting orgmode to html based on python.

https://img.shields.io/badge/pypi-v0.2.7-brightgreen.svg https://img.shields.io/badge/python-3-brightgreen.svg https://img.shields.io/badge/license-BSD-blue.svg

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))

problem

Can’t render unclose block correctly

test *test*
*test1*

feature

  • [X] toc
  • [X] heading
    * headind 1
    ** headind 2
    *** headind 3
    **** headind 4
    ***** headind 5
    ****** headind 6
        
  • [X] unordered_list
    - list
    - list
      - list
        + list
      - list
        
  • [X] ordered_list
    1. list
    2. list
    3. list
        
  • [X] bold
    *bold*
        
  • [X] italic
    **italic**
        
  • [X] underlined
    _italic_
        
  • [X] code
    =code=
        
  • [X] delete
    +delete+
        
  • [X] image
    [[src][alt]]
        
  • [X] link
    [[href][text]]
        
  • [X] begin_example
  • [X] begin_src
  • [X] begin_quote
  • [X] 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 |
        

org-python's People

Contributors

honmaple avatar titan-c avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.