Alex Kocharin
Alex Kocharin
> should result in [0,2] and [2,5] maps because lists can have * empty lines between the bullet points. It doesn't seem consistent, as we should either count empty lines...
I've been checking CM reference implementation. They do have source maps, and their behavior matches ours in this particular case. ```md 0 - foo 1 - bar 2 3 4...
Just created a new topic here: https://talk.commonmark.org/t/sourcepos-in-lists/2498
```js md.renderer.render(tokens, md.options, {}); ```
> but I can't find where in the common mark spec is says that the alt tag should always be added there are tests for it, e.g. spec example 580:...
Can you provide examples of both markdown input and expected output? I didn't quite understand what kind of indent is being talked about.
@danielgtaylor , I wonder, why ids, and not names (as in ``)? I'm worried that ids could potentially collide with other ids on the page used by javascript. Also, nitpick:...
> If you are looking for something published to npm I'm looking for the router to be published to npm for the looong time now. :)
Here is a better idea: ``` js app.get('/', function() { res.body = { '...': 'any json you want' } // use that instead of res.json() res.jsonReplacer = function(){ /* whatever...
If you really think it is a good idea to add it to express itself, the best api as of now would be this: ``` js res.set('json replacer', function(){}) res.json(data)...