Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with rendering headlines #104

Open
hahahannes opened this issue Dec 14, 2018 · 0 comments
Open

Problem with rendering headlines #104

hahahannes opened this issue Dec 14, 2018 · 0 comments

Comments

@hahahannes
Copy link

Hi I am encountering a problem when I try to use a headline in my parser. I found out that it is working with sub parser but not with a normal parser. There the headline does not even get displayed. Instead a empty paragraph gets rendered.

Not working:

parser = argparse.ArgumentParser(epilog='''
Headline
---------
''')

Working:

parser = argparse.ArgumentParser()
sub = parser.add_subparsers()
sub_parser = sub.add_parser('test', epilog='''
Headline
---------
''')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant