Nico Jansen

Results 436 comments of Nico Jansen

I've created a commonmark complaint renderer here: https://github.com/nicojs/html2commonmark Example: ``` javascript var renderer = new require('html2commonmark').Renderer(); var reader = new require('commonmark').Parser(); var aPieceOfCake = renderer.render(reader.parse('a `piece` of _cake_')); ```

My version is indeed written in TypeScript, which is transpiled to JavaScript before use. As you can see: ``` bash git clone https://github.com/nicojs/html2commonmark cd html2commonmark npm install npm install -g...

@tmpfs ok, let's say i can find the time to do this. You want the list as a comment on this issue? Or somewhere else?

+1. I am creating an HTML to markdown converter which should be 100% CommonMark compliant. I'm also only using the parser, node, and walker objects for now. EDIT: I'm just...

> Note that the C implementation (jgm/cmark) already has a > really carefully written commonmark renderer. It would not > be difficult to port this over to commonmark.js, and then...

> For what it's worth, since TypeScript has a structural type system, `Price` and `Price1` are totally interchangeable (you can use a `Price1` where a `Price` is required, and vice-versa)....

It's not only the 'description' field that forces 2 duplicate implementations. Also the `default` results in the same behavior. I.e. ```json { "title": "Foo", "type": "object", "properties": { "bar": {...

A workaround is to remove all other properties (with the exception of `"$ref"`) before generating the schema. ```ts function preprocessSchema(inputSchema) { switch (schemaType.type) { case 'object': const outputSchema = {...

``` appender "/home/nicojs/github/stryker-js/packages/core/dist/src/logging/multi-appender.js" could not be loaded (error was: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/nicojs/github/stryker-js/packages/core/dist/src/logging/multi-appender.js from /home/nicojs/github/stryker-js/packages/core/node_modules/log4js/lib/appenders/index.js not supported. Instead change the require of multi-appender.js in /home/nicojs/github/stryker-js/packages/core/node_modules/log4js/lib/appenders/index.js to a...

Yes, this is what I meant by major change. Simply making some functions `async` won't work. In the end, I think the `log4js.configure` function should become an `async` function. Appenders...