mirror of https://github.com/patacrep/patacrep.git
Engine for LaTeX songbooks
http://www.patacrep.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
357 B
15 lines
357 B
"""Fake plugin for test purposes."""
|
|
|
|
from patacrep.content import ContentItem, ContentList, validate_parser_argument
|
|
|
|
class FakeContent(ContentItem):
|
|
"""Fake content."""
|
|
|
|
def file_entry(self):
|
|
return {'customname:':''}
|
|
|
|
def parse(keyword, argument, config):
|
|
return ContentList([FakeContent()])
|
|
|
|
CONTENT_PLUGINS = {'customname': parse}
|
|
|
|
|