Closed tucked closed 1 year ago
Without this, there isn't a straightforward way to render Markdown/reStructuredText as highlighted code.
hashid.md
hashid/md
Now, types and rendering selection are separate.
hashid/text
This also allows "type-casting" by providing an extension and a mode selector.
hashid.py/text
This also fixes a couple rendering bugs:
.asciinema
Without this, there isn't a straightforward way to render Markdown/reStructuredText as highlighted code.
hashid.md
returns raw data.hashid/md
renders it.Now, types and rendering selection are separate.
hashid.md
returns raw data.hashid/md
renders it.hashid/text
renders it as highlighted text.This also allows "type-casting" by providing an extension and a mode selector.
hashid.py/text
renders as highlighted Python text.This also fixes a couple rendering bugs:
.asciinema
redirects would lose query parameters, but now they are preserved.