Commit Graph

9 Commits (2a78676d4148bd1e6259dfa6cd71dadf6b8242ba)

Author SHA1 Message Date
Mike 4c60bd8d64
Fix #388.
Replaces the `IO` argument with a `Union{IOBuffer,IOContext}` which
should be the only types that are actually reachable since the code
paths pass through `sprint`, which only uses either of those.

It's still not a perfect fix due to the type piracy, as noted in the
comments, but avoids the method overwrite warning at least.
2021-06-01 08:42:02 +01:00
Fredrik Bagge Carlson c87782f451
[RFC] Do not define Markdown.latex using eval
This PR solves #356 at the expense of a warning:
```
WARNING: Method definition latex(IO, Markdown.LaTeX) in module Markdown at /home/fredrikb/julia/usr/share/julia/stdlib/v1.5/Markdown/src/IPython/IPython.jl:28 overwritten in module WeaveMarkdown at /home/fredrikb/.julia/dev/Weave/src/WeaveMarkdown/markdown.jl:10.
  ** incremental compilation may be fatally broken for this module **
```
2020-05-27 13:04:51 +02:00
Shuhei Kadowaki 1fb40645ed refactors: almost just about code styles, doesn't change any behaviour 2020-05-24 02:36:32 +09:00
Shuhei Kadowaki 2376a9dae9 format things 2020-05-08 23:39:17 +09:00
aviatesk e18c5f35e3 update comment 2020-01-07 23:51:55 +09:00
aviatesk 652b19cd0f fixes #232 2020-01-05 15:18:41 +09:00
Tommy Hofmann 1c0506342e Add html rendering of Markdown tables 2019-06-26 11:19:11 +02:00
Matti Pastell edd558de0e Add support for comments in Markdown. Closes #97 2019-02-28 16:17:03 +02:00
Matti Pastell 710b67ca45 Add markdown flavor for improved math support. Closes #182 2019-02-27 18:21:05 +02:00