1. Georg Brandl
  2. pygments-main
Issue #719 open

Wishlist: support Org?

Steven Haryanto
created an issue

Hi,

Any plans to support Org?

More about Org format: http://orgmode.org/

Thanks, Steven

Comments (11)

  1. malcook

    +1, and, an implementation suggestion:

    pandoc can be used to convert both markdown and org to html on the fly.

    The following is an extract from an Apache .config file that allows for such conversions when docs are served by Apache. I imagine something similar might work for bitbucket configuration.

           # mec: Interpret markdown files to html on the fly                                                                                                                                                                                
            ExtFilterDefine markdown-to-html mode=output \                                                                                                                                                                                    
                    intype=text/markdown outtype=text/html cmd="/n/local/bin/pandoc -f markdown  -t html"                                                                                                                                     
                    ## --email-obfuscation=references                                                                                                                                                                                         
            SetOutputFilter markdown-to-html                                                                                                                                                                                                  
            AddType text/markdown .md                                                                                                                                                                                                         
            ##.markdown .md .Rmd                                                                                                                                                                                                              
            # mec: Interpret orgmode files to html on the fly                                                                                                                                                                                 
            ExtFilterDefine orgmode-to-html mode=output \                                                                                                                                                                                     
                    intype=text/orgmode outtype=text/html cmd="/n/local/bin/pandoc -f org  -t html"                                                                                                                                           
                    ## --email-obfuscation=references                                                                                                                                                                                         
            SetOutputFilter orgmode-to-html                                                                                                                                                                                                   
            AddType text/orgmode .org  
    
  2. Log in to comment