That solves it. Even it's possible to populate the input with different
:html instances. Perhaps could come handy to reserve a tag for html, saving
the extra lambda argument.
On Wednesday, May 9, 2012 2:03:00 AM UTC-3, Massimo Di Pierro wrote:
>
> You can use MARMIN(...,extra=dict(html=lambda x:
You can use MARMIN(...,extra=dict(html=lambda x: x))
then you would embed with """
``this is html``:html
"""
but kind of defies the purpose and you may want to sanitize(x)
On Tuesday, 8 May 2012 14:48:42 UTC-5, Alan Etkin wrote:
>
> Seems like it's not possible to embed HTML in markmin. Isn't
Seems like it's not possible to embed HTML in markmin. Isn't it? How about
allowing a user to do:
>> print MARKMIN("[[[Spam]]]")
Spam
I think that this would be useful for dual markmin/html wisiwig editors too.
This has been on the todo list for a while. It requires refactoring of the
way markmin handles nested lists. If this is done, must be donefor both
markmin2html and markmin2latex. I very much support this feature but it not
a priority for me. If somebody wants to work on it, I will take a patch.
Maybe we could get nested lists?
Something like
- item a
-- item aa
-- item ab
- item b
Martin
Am 06.04.2012 03:09 schrieb "Massimo Di Pierro" :
> Consider this text
>
> text = """
> **bold**
> ''italic''
> ``code``
> [[anchor]]
> [[link to #anchor]]
> http://example/image.jpg (embeds the image)
Consider this text
text = """
**bold**
''italic''
``code``
[[anchor]]
[[link to #anchor]]
http://example/image.jpg (embeds the image)
http://example/image.mp3 (embeds the audio)
http://example/image.mp4 (embeds the video)
@{hello} (embeds the variable hello)
@{controller/function/a/r/g/s.extensi
6 matches
Mail list logo