Giter Site home page Giter Site logo

zettel-link-rewriter's People

Contributors

balaji-dutt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zettel-link-rewriter's Issues

add a tests file to document and demonstrate a few conversions?

This looks great! Glancing at the code, I saw that you parse the input document line-by-line based on Regex at some point, and the script is fairly long (longer than a simple global String replacement! :)), so I guess it contains a couple of syntax checks. That'd be great.

My suggestion is to add a tests file, or maybe even embed the tests if the script is launched without any arguments or a --run-tests flag, or something. I first saw this in http://alanwsmith.com/embedding-a-test-suite-in-a-single-file-ruby-app-part-1 and found that to be a neat pattern for simple CLI scripts where I don't want to create a directory with the script and the tests separately, but still want to document how it behaves.

Anyway, I'd be mostly interested in seeing how

foo `[[bar]` baz 

is handled, and GitHub Flavored Markdown fenced code blocks :)

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.