Difference between html.js and renderer/html.js? (Commonmark.js javascript)


#1

Hi all,

I had a question about the javascript implementation commonmark.js.

What’s the difference between html.js and renderer/html.js? It seems like the former isn’t used at all. I was going to write my own html renderer, and didn’t know which one to look at. It seems like the library uses renderer/html.js.

If anyone has info on it, it’d be appreciated, thanks.


#2

What do you mean? In that repo there’s only one file named html.js: lib/render/html.js.

Can you rephrase your question?


#3

There’s an extraneous html.js outside of renderer. No worries, I got the
answer from the maintainer. He said the one outside of renderer is
vestigial.