Code Monkey home page Code Monkey logo

enex2sb's Introduction

It has been moved scrapbox-converter mono-repo and this repo is archived.

enex2sb

Encode XML exported by Evernote to Scrapbox.io style importable json

Usage

CLI

You should set GYAZO_ACCESS_TOKEN to OAuth access token get from https://gyazo.com/oauth/applications before exec command.(It uses to upload embeded images to gyazo.com)

  • % npm install -g enex2sb
  • % nenx2sb hoge.enex > hoge.json
    • You can pass filename as option
  • % cat hoge.enex | enex2sb > hoge.json

Compatibility

enex2sb requires babel-polyfill but since babel-polyfill can only be used once (singleton) this means that you need to add it to your end product.

API

TBW

Development

  • Require
    • NodeJS
    • yarn
  1. Fork it
  2. % git clone [email protected]:YOUR-NAME/enex2sb.git
  3. % cd enex2sb
  4. % git checkout -b YOUR_WORKING_BRANCH
  5. Write Some Code!
  • Build: % yarn run build
    • Watch: % yarn run watch
  • Test: % yarn test
    • Test Watching: % yarn test:watch
  1. Commit your work
  2. Open PR to this repository ๐ŸŽ‰

enex2sb's People

Contributors

kadoyau avatar martinheidegger avatar pastak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

enex2sb's Issues

listing testcase

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export3.dtd">
<en-export export-date="20170529T051917Z" application="Evernote" version="Evernote Mac 6.11 (454874)">
<note><title>listing testcase</title><content><![CDATA[<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"><en-note><ul><li>list item</li><li>level1<ul><li>level2<ul><li style="display:inline;list-style:none;"><ul><li>level4</li></ul></li></ul></li></ul></li></ul><ol><li>ordered list</li><li>second<ol><li>level2</li></ol></li><li style="display:inline;list-style:none;"><ul><li>non ordered</li></ul></li></ol></en-note>]]></content><created>20170529T051636Z</created><updated>20170529T051649Z</updated><note-attributes><author>pastak</author><reminder-order>0</reminder-order></note-attributes></note>
</en-export>
 list item
 level1
  level2
    level4
1. ordered list
2. second
 1. level2
  non ordered

Separate browser from server code

Much of the code works in browser and server. It would be good to separate the code in each part so we can use the library in the browser.

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.