GithubHelp home page GithubHelp logo

m3kh / orgajs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orgapp/orgajs

0.0 0.0 0.0 16.44 MB

parse org-mode content into AST

Home Page: https://orga.js.org

License: MIT License

Shell 0.03% JavaScript 7.91% TypeScript 92.01% CSS 0.05%

orgajs's Introduction

Orga

What Is It

Orga is a flexible org-mode syntax parser. It parses org content into AST (Abstract Syntax Tree 🌲). And it’s written in JavaScript.

Why

org-mode is simply a superior format than other more popular ones, but it’s mostly trapped inside of emacs. It’s so good that it was the #1 reason to learn and use emacs for a lot of people (me included). But it’s too good to not share with the rest of the world. If it can run in JavaScript, it can run on anything.

Compatible Eco-systems

It integrates natively with popular tools.

☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees

The orga parser is completely compatible with unified. Which means you get to take advantage of the works of others put into the pipeline. linting for natural language, correct your writing, write music? etc. Here is an example.

@orgajs/loader is a webpack loader that made orga native citizen of webpack ecosystem. Coupled with plugins, it works smoothly. Take a look at the example project.

A JavaScript library for building user interfaces

You can render react components directly in your org file. Something like this:

* Hello World

Let's render *the box*.

#+begin_export jsx
<div style={{
  backgroundColor: 'gold',
  padding: '1em',
  border: '1px solid black',
  boxShadow: '5px 5px'
}}>I am a box with shadow</div>
#+end_export

Try it our yourself in the playground.

Build blazing fast, modern apps and websites with React

gatsby-plugin-orga is a powerful plugin that plug org-mode into gatsby system. This website is built with gatsby and gatsby-theme-orga-docs theme. Here is a minimal example project.

The React Framework

Because orga is native to webpack, it’s fairly simply to intergrate with nextjs. Example project.

Examples

Take a look at the collection of examples to quickly get started.

Contribute

See the contributing file for ways to get started.

orgajs's People

Contributors

xiaoxinghu avatar guiltydolphin avatar github-actions[bot] avatar shroomist avatar woofers avatar blackglory avatar agilecreativity avatar chaseadamsio avatar floscr avatar lpan avatar vinhowe avatar dependabot[bot] avatar whacked 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.