rotifer.core.functions.rdoc#
- class rotifer.core.functions.rdoc(f)[source]#
Bases:
objectInput a file with rotifer corecli Ouput a markdown file The first parameter f is the script path the md object is created containing a raw markdown Later it can be printed to stdout using writer() function. ——— EXAMPLE: import rotifer.core.functions as cf md = cf.rdoc(os.path.basename(__file__)) # Raw markdown print(md)
# Pretty markdown md.writer()