Tom, metadata is a more high abstraction level. Remarked does parse, according to defined configuration (in you case that's generated from metadata).
You can write a wrapper, if needed. But it's a bit another task. We care about more generic problem - how to make syntax extention without ass pain and with guarantee of correct output. пятница, 24 октября 2014 г., 16:27:25 UTC+4 пользователь Tom Boutell написал: > > Neat, I'll have to look at this. Is there support for metadata? We > currently use meta-marked for that feature, which allows YAML at the top of > the file to be parsed when it appears between certain delimiters. > > On Wednesday, October 22, 2014 11:35:20 PM UTC-4, Vitaly Puzrin wrote: >> >> Demo: http://jonschlinkert.github.io/remarkable/demo/ >> >> Repo: https://github.com/jonschlinkert/remarkable >> >> >> Everyone who tried to extend existing markdown js implementations can >> note, that all internal logic there is pinned with nails. That makes next >> to impossible to write extentions. You can patch output, but that can not >> guaranty correct html after processing. This can be solved by external html >> validators, but such solutions are heavy and possible on server only. >> >> We decided to write a new project from scratch, to solve a lot of >> problems at once: >> >> 1. Users should not depend on package developpers. Parser should be >> extendable. >> 2. Flexibility should not cause speed loss. >> 3. Follow CommonMark spec. >> 4. Output should be good out of box, without additional processing. >> 5. Browser support :) >> >> I think, result is interesting. All critical parts of `remarkable` are >> written in monomorphic style. Without sugar like "typorgafer" and >> "linkifier" speed is faster than in `marked` & `stmd.js` (and that's with >> not cheap plugins system). Also, if you don't like some extentions - it's >> possible to restrict processing rules by whitelist. >> >> Now we are collecting users feedback. >> >> Enjoy! >> > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/576b0a1d-7598-4c39-96fd-6a8308bcb63f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
