Andrew Fricke

Results 13 comments of Andrew Fricke

I ran into this issue as well. If you want to serialize by name, I used: ```python import enum from flask import Flask from flask_marshmallow import Marshmallow from flask_sqlalchemy import...

Hrm, that is rather annoying :{ Any suggestions for the trigger syntax for multi-lined versions of snippets? I wasn't very fond of the trailing `b`, hence why I changed it...

It definitely needs improvement. Ideally you'd just be able to define the excerpt in a non hideous manner. Something like an inline Jinja tag or using the yaml front matter...

Yeah, I was thinking of a similar idea sort of hijacking a misaka renderer callback. Something like use the fenced code block but supply a special value for the language...

Not really sure I like the `excerpt_end` idea. Requires a bit of work on the user's part to have to define that for every post as there isn't really a...

Hrm, just thought of an issue with the `` idea. Recently on request, and it makes sense, I changed excerpt to not be wrapped in HTML. Bit trickier with this...

Yeah, that's pretty much the same thing as the `` just with a comment instead. I guess it is a bit better as it doesn't rely on someone not using...

I mean the excerpt should never contain any block level elements.

The issue with using comments, as discussed above, is grabbing the excerpt not wrapped in HTML. I imagine the only time you'd want to use the start/end comments would be...

I guess that just seems odd to me because I always viewed the excerpt serving as a summary and it doesn't make much sense to have a summary of a...