Site under construction! :3
Pigeon Markdownξ―
Name | Syntax | Example |
---|---|---|
Attributes | {:attr} |
|
Tone indicators | {/tone} |
|
Tooltips | {?tooltip} |
|
Badge | [:badge] |
|
Emoji | :emoji: |
Attributes ({:attr}
)ξ―
Definitionξ―
(class) attr(*args, **kwargs): self[attr] = value for attr, value in **kwargs (method) self.class = args.find(/\.(.*)\s/).insert(0, self.class).join(" ") self.tone = args.find(/\/(.*)\s/).insert(0, self.tone).join(", ") self.id = kwargs.id or args.find(/#(.*)\s/)[0] self.tooltip = args.find(/\?(.*)\s/)[0] return self
Regexξ―
/\{\s*\:(.*?)\s*\}/
- Properties
class
tone
id
tooltip
Blockξ―
Pigeon Markdownξ―
* Item 1 * Item 2 * Item 3 {: style="color:red"}
- Item 1
- Item 2
- Item 3
Inlineξ―
Pigeon Markdownξ―
* Item 1 * Item 2 * Item 3 {: style="color:red"}
- Item 1
- Item 2
- Item 3
Badges ([:badge]
)ξ―
Pigeonξ―
(class) badge(name = self, *args, **kwargs): return Badge(name = name, *args, **kwargs)
Code blocksξ―
Description listsξ―
Emoji (:emoji:
)ξ―
Pigeonξ―
(class) emoji(name = self, *args, **kwargs): return Emoji(name = name, *args, **kwargs)
Tone indicators ({/tone}
)ξ―
Pigeonξ―
(class) tone(tone = self, *args, **kwargs): self.tone = tone return self
Tooltips ({?tooltip}
)ξ―
Pigeonξ―
(class) tooltip(tooltip = self, tooltip_type = *args, **kwargs): self.tooltip = tooltip return self