Hsiaoming Yang

Results 227 comments of Hsiaoming Yang
trafficstars

@Newbytee Hi, from my debug, `` has matched `inline_html`. In this case, you can put this rule before `inline_html`. ``` md.inline.rules.insert(1, "colour") ``` BTW, I'm designing v3 now. The parser...

@Newbytee I'm using `v3` code now. It would be easier to fix this issue in v3.

Yes, it is possible. But I'm re-thinking of the syntax of Markdown. I like explicit, instead of the syntax you give, I would think: ``` > first line > second...

@makeworld-the-better-one yes, it can be fixed. I don't have too much spare time in this library right now. But I'm happy to accept a PR.

I'm working on a new way to write the parser, which will make it easier to solve problem like this. Pure regex is just very hard to fix this problem.

You had a misunderstanding of how mistune works. It doesn't work in your `text -> ast -> html` way. The `AstRenderer` was used to print out the structure of the...

In v3, without a renderer, it will output AST as default. Fixed in v3.

It would be better if we can pass a `requests.Session` argument, in this case, we can use other library as well. For instance, we can pass a session into gspread,...

fixed in https://github.com/lepture/authlib/commit/cd66b369d141ba817b8ef0b760fae99f74b8cd86