Short description of package.
Project description
clld-morphology-plugin
A plugin for modelling morphology in CLLD apps. Models:
- word forms (consist of morphs)
- morphs (are parts of word forms, belong to morphemes)
- morphemes (have different [allo]morphs)
Markdown
Since this plugin was primarily developed for yawarana-sketch-clld, comments on models are rendered using markdown.
However, it is up to the app developer to choose what markdown you want to use; templates assume that the parent mako template provides a function markdown(request, content)
.
If you want to use the clld-markdown-plugin, use the following code in your top-level .mako
:
<%def name="markdown(request, content)">
<%from clld_markdown_plugin import markdown%>
${markdown(request, content)|n}
</%def>
to use plain markdown instead:
<%def name="markdown(request, content)">
<%from markdown import Markdown%>
${Markdown(content)|n}
</%def>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for clld_morphology_plugin-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe7d983e29e8faccaba4a0bcc32b75b2918c4b11a5b07b8b6371f50027410116 |
|
MD5 | b59f5cf55c7cdb28d69ff4a9736790a5 |
|
BLAKE2b-256 | 1fff195a63d0c79647f494f0ede2e7b7ef8c41c00d84752f70b5faddac252d17 |
Close
Hashes for clld_morphology_plugin-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680f9de5d6b48f97d5895c4fe544bac91e82b48f7d6e953c5d022dadb22fa8fb |
|
MD5 | 9907674b46e2928d114be5ff83689d96 |
|
BLAKE2b-256 | 4611ebab0d0cbfddbf3c742789415bf694a2302afb1018fc9498ba32accad27a |