docs for each at http://daringfireball.net/projects/markdown/ and
http://michelf.com/projects/php-markdown/extra/ respectively.
-Pokédex links are represented with the extended syntax `[name]{type}`, e.g.,
-`[Eevee]{pokemon}`. The actual code that parses these is in spline-pokedex.
+Pokédex links are represented with the syntax `[text]{type:identifier}`, e.g.,
+`[Eevee]{pokemon:eevee}`. The actual code that parses these is in
+spline-pokedex.
"""
from __future__ import absolute_import
import markdown
-import sqlalchemy.types
+import sqlalchemy
class MarkdownString(object):
"""Wraps a Markdown string. Stringifies to the original text, but .as_html
newdict[key] = _markdownify_effect_text(obj, newdict[key])
return newdict
-class MarkdownColumn(sqlalchemy.types.TypeDecorator):
+class MarkdownColumn(sqlalchemy.TypeDecorator):
"""Generic SQLAlchemy column type for Markdown text.
Do NOT use this for move effects! They need to know what move they belong