Giter Site home page Giter Site logo

clarktown's People

Contributors

askonomm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clarktown's Issues

ATX headings without following empty line get rendered wrong

Following Markdown:

### Composition
You may have noticed the line with the note: _Where to begin the query?_
In our application, we have _one_ normalized-state. So we want _one_ query to get _one_ tree to pass to our render function. 

Coming back to our complete code from before, we can replace the `person` function with our component:

gets rendered like:
image

(Note: the ticks around person are part of my stylesheet, it is not a bug.)

Make text emphasis better

This means that:

  1. Bold text can be created by surrounding a word with both ** and __ characters, whereas currently only ** is supported.
  2. Italic text can be created by surrounding a word with both * and _ characters, whereas currently only _ is supported.
  3. Bold and italic text can be created by surrounding a word with both *** and ___ characters.

Improve architecture

Currently the naming of things is a bit of a mess. There's no real distinction between a matcher, parser, renderer, and they are hard to explain as a result of it. On top of it with the addition of a correction mechanism (added in #15) it creates a need to introduce a easy way to also add additional correctors, making the re-design of the architecture even more important.

I believe I can do it without changing the underlying API, so those who use Clarktown for rendering Markdown with the default parsers and things can continue to do so without needing to change anything, and perhaps even those who built custom parsers can get away fairly easily.

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.