jonschlinkert / markdown-symbols

Easily add and create custom symbols to use in markdown, and then compile them to HTML.
https://github.com/jonschlinkert
MIT License
19 stars 4 forks source link

Can't get it to work :( #1

Open vectorsize opened 10 years ago

vectorsize commented 10 years ago

I tried following the instructions in the readme and my custom tags don't seem to work. None of the tests passes (running mocha from the repo's root).

Am'I missing something?

thanks

vinz243 commented 10 years ago

Error log please

jonschlinkert commented 10 years ago

@vectorsize hmm, could be dep change or something. yeah, error logs would be useful.

vectorsize commented 10 years ago

hi… sorry for the late reply I didn't get any errors, rather, it seems that there is a miss-match with the actual version and the tests/doc.

Given this simple snippet taken from your tests:

var symbols = require('markdown-symbols');
var actual = symbols.process('||This is a label!|warning||');
console.log(actual);

actual doesn't contain a string but an object. And I couldn't find the way to get the transformed string from that.

fenwick67 commented 7 years ago

Bumping because even the example doesn't work properly.