asciidocr 0.1.9

A CLI and library for processing and converting asciidoc files
Documentation
1
2
3
4
5
6
7
8
9
10
11
// this, unlike the file in /blocks/ uses a blank line after the listing, which
// is not necessarily recommended but sometimes happens
[source, python]
----
def hello(name: str):  # <1>
""" Welcomes the person whose name is passed to the function"""
    print(f"Hello, {name}")  # <2>
----

<1> This is a function definition.
<2> This print statement employs an "f-string"