Tayra

Template. Script. Distribute

utils – Utility functions

Common library functions and utility functions specific to tayra package.

Module contents

tayra.utils.etx2html(etxconfig={}, etxloc=None, etxtext=None, **kwargs)[source]

TBD : Convert eazytext content either supplied as a file (containing the text) or as raw-text, into html.

etxconfig,
configuration parameters for eazytext. A deep-copy of this will be used.
etxloc,
file location, either in asset specification format, or absolute path.
etxtext
raw-text containing eazytext wiki.
kwargs
interpreted as config-parameters that will override etxconfig.
tayra.utils.directive_tokens(s)[source]

Directives are meta constructs that provide more information on how to interpret a template text. Typically a directive starts with a @ followed by directive name and one or more tokens and/or attributes pairs.

Table Of Contents

Related Topics

This Page