Anders Kaseorg

Results 386 comments of Anders Kaseorg

Firstly, I don’t want to run it in a cloud sandbox; I want to run locally on my project. Secondly, even if I wanted to use CodeSandbox, how is CodeSandbox...

> I don't understand why and what's the difference. I am working on some project, say https://github.com/zulip/zulip-mobile, that uses prettier-eslint-cli. The zulip-mobile code is on my computer—I got it with...

This has invalidated our workaround for #411. We were using `foo.html#bar` links because `foo.md#bar` gave incorrect “reference target not found” errors when building in parallel, but now `foo.html#bar` give those...

@scotboyd That’s #411, and it was fixed in #525, but there has not yet been a release including this fix.

Interestingly, this does work: ```md --- substitutions: a: '{{100*2}}' b: 2 --- Here are the variables: {{a}} and {{b}}. ``` > Here are the variables: 200 and 2. but not...

Thanks for the quick response. My perspective is that I’m concerned about denial of service attacks on applications parsing user input as Markdown. This isn’t an academic exercise—this very comment...

If you’re concerned about crashing with recursion errors, what are your thoughts on `markdown.markdown('>' * 1000)`? (Personally I’m somewhat less concerned by that, since it’s much easier to detect and...

There also seem to be problems in the horizontal direction: `markdown.markdown('[]()' * 20000)` takes quadratic time (and this case probably has a reasonably large performance impact on “real” documents, too).

One would think that careful design would avoid needing 20,000 ⋅ 20,000 operations to parse 20,000 links; there’s no fundamental reason that each link needs to do something with each...

@mitya57 Sure, filed as #799.