Code Monkey home page Code Monkey logo

darko's Introduction

  • ๐Ÿ”ญ Iโ€™m currently working on https://chuangyi.taobao.com (we're hiring!), a creative platform implemented in JavaScript and Rust.
  • ๐ŸŒฑ Iโ€™ve been involved with web stuff for a while, and my own two cents are leoric and porter.

darko's People

Contributors

brianmacdonald avatar cyjake avatar wojtask9 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darko's Issues

No darko commands recognized

I am attempting to serve a site locally using darko for the first time. I've installed darko using npm, and the command darko --help returns the correct information. However, any of the other commands such as serve or build return darko-serve(1) does not exist, try --help.

I attempted this in both git bash and from windows command line with same results. Any help is appreciated!

OS: Windows 7

pygments alternatives?

Darko uses highlight.js for syntax highlighting currently. The generated result is not compatible with the result of pygments though. Therefore those styles written for pygments won't be usable if some one is switching from Jekyll to Darko.

There are pygments compatible Node modules available, such as peacock. But it only highlights syntax of JavaScript.

Any thoughts?

Error in darko-serve watch

I receive the following error when using darko-serve -w in Cygwin in Windows 7

path.js:204
        throw new TypeError('Arguments to path.join must be strings');
              ^
TypeError: Arguments to path.join must be strings
    at f (path.js:204:15)
    at Object.filter (native)
    at Object.exports.join (path.js:209:40)
    at FSWatcher.<anonymous> (D:\Workspaces\node_modules\darko\bin\darko-serve:191:22)
    at FSWatcher.emit (events.js:98:17)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1044:12)

The issue seems to be that the filename argument for watch is not supported on every platform.
See: http://nodejs.org/docs/latest/api/fs.html#fs_filename_argument

Support for _plugins directory

It would be great if darko could provide support for custom tags and generators located in _plugins directory

Currently I'm able to use "custom tags/generators" but it is very ugly way :)

What do you think about this feature ? It is possible?

darko server show error

Fatal error in ../deps/v8/src/api.cc, line 1248

Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().

Comma in URLs

For some reason, Darko inserts comma in every URL. I've tried changing baseUrl and url yml properties with no luck. There might be a bug somewhere in the code. I am trying to find the place where you parse URLs, but don't know where it is located.

<link rel="canonical" href="http://yoursite.com,/,/">

<link rel="stylesheet" href="/,/css/main.css">

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.