How to use the orga.parse function in orga

To help you get started, we’ve selected a few orga examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github orgapp / orgajs / www / src / pages / index.js View on Github external
export default () => {
  const [text, setText] = useState('')
  const oast = parse(text)
  const hast = toHAST(oast)
  const html = stringify(hast)

  return (
    
      
        
          <input value="{text}" rows="10"> setText(e.target.value)}/&gt;
        
        
          
        

orga

org-mode parser

MIT
Latest version published 12 months ago

Package Health Score

61 / 100
Full package analysis

Similar packages