Giter Site home page Giter Site logo

markx's People

Contributors

jgallen23 avatar nick-thompson 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

markx's Issues

Problem with Resistance.series

First, thanks for the markx module. I'm going to use it heavily.

I ran to a problem though trying to test it on windows machine. Here is what I'm getting:

res.series([
^
TypeError: Object function () {
if (!(this instanceof Resistance)) {
return new Resistance();
}

this.type = 'series';
this.flow = [];
} has no method 'series'
at module.exports (C:...\node_modules\markx\lib\convert.js:46:7)
at Object. (C:...\node_modules\markx\bin\markx.js:62:3)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)

I'm using node v.0.8.8 and [email protected] was installed automatically by npm install markx.

Any advice would be highly appreciated.

Thanks!

Strikthrough support

Github flavored markdown supports strikethrough.
Would it be possible to add it to markx?

Crash parsing Markdown file with fenced code blocks

While trying to input a Markdown file containing github-style fenced code blocks markx crashes. Seems to me after a cursory look at the code that it's caused by the lack of checks for supported highlighting languages. Something like a descriptive error message, or simply giving up on highlighting unknown languages would be helpful additions.

Node.js 0.8.12 on Windows 8 x64:

d:\node.js\node_modules\markx\node_modules\highlight.js\highlight.js:158
      if (mode.compiled)
              ^
TypeError: Cannot read property 'compiled' of undefined
    at compileMode (d:\node.js\node_modules\markx\node_modules\highlight.js\high
light.js:158:15)
    at compileLanguage (d:\node.js\node_modules\markx\node_modules\highlight.js\
highlight.js:230:5)
    at highlight (d:\node.js\node_modules\markx\node_modules\highlight.js\highli
ght.js:392:5)
    at Object.module.exports.marked.setOptions.highlight (d:\node.js\node_module
s\markx\lib\converters\markdown.js:29:19)
    at tok (d:\node.js\node_modules\markx\node_modules\marked\lib\marked.js:540:
30)
    at tok (d:\node.js\node_modules\markx\node_modules\marked\lib\marked.js:605:
17)
    at tok (d:\node.js\node_modules\markx\node_modules\marked\lib\marked.js:577:
17)
    at parse (d:\node.js\node_modules\markx\node_modules\marked\lib\marked.js:65
0:12)
    at marked (d:\node.js\node_modules\markx\node_modules\marked\lib\marked.js:7
17:10)
    at module.exports (d:\node.js\node_modules\markx\lib\converters\markdown.js:
35:16)

Table support

Does marks support tables? For example, I have a table like this:

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

The rendering/converting to html is fine in Mou. But when I'm trying to use markx, it doesn't work.

Support YAML front matter?

Hey dude! Thanks for this awesome project!

Do you think it'd be possible to support YAML front matter on markdown pages?
https://github.com/mojombo/jekyll/wiki/YAML-Front-Matter

It feels kind of unnecessary to have to write an additional file to specify data.

On a similar note, it might be cool to pass in default information about the file to the template. Like reading the file name and the last modified time with fs.stat, and passing those into the template renderer. That way, you wouldn't necessarily have to provide additional data to specify basic properties.

Just throwing my thoughts out, what do you think?

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.