def intro():
intro = [
click.style(".", dim=True),
"Hi, I'm {}.".format(click.style("AJ", fg='red')),
"I'm a {} with a strong interest in ".format(click.style("Python developer", fg='yellow')),
"APIs, CLIs and subverting the dominant paradigm.",
"This is my resume.",
"",
"Note: this is primarily intended for command-line addicts.",
"A more conventional version can be found on LinkedIn."
]
intro = [click.unstyle(item).center(80) for item in intro]
intro = "\n".join(intro)
intro = intro.replace("APIs", click.style("APIs", fg='green'))
intro = intro.replace("CLIs", click.style("CLIs", fg='blue'))
intro = intro.replace("subverting the dominant paradigm",
click.style("subverting the dominant paradigm",
fg='magenta'))
colSpan = 5
rowSpan = 3.5
ret = Markdown(data=intro, colSpan=colSpan, rowSpan=rowSpan, label="")
return ret
评论列表
文章目录