Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mdutils/mdutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def new_table(self, columns, rows, text, text_align='center', marker=''):

return text_table

def new_paragraph(self, text='', bold_italics_code='', color='black', align='', wrap_width=120):
def new_paragraph(self, text='', bold_italics_code='', color='black', align='', wrap_width=0):
"""Add a new paragraph to Markdown file. The text is saved to the global variable file_data_text.

:param text: is a string containing the paragraph text. Optionally, the paragraph text is returned.
Expand Down Expand Up @@ -250,7 +250,7 @@ def new_paragraph(self, text='', bold_italics_code='', color='black', align='',

return self.file_data_text

def new_line(self, text='', bold_italics_code='', color='black', align='', wrap_width=120):
def new_line(self, text='', bold_italics_code='', color='black', align='', wrap_width=0):
"""Add a new line to Markdown file. The text is saved to the global variable file_data_text.

:param text: is a string containing the paragraph text. Optionally, the paragraph text is returned.
Expand Down Expand Up @@ -279,7 +279,7 @@ def new_line(self, text='', bold_italics_code='', color='black', align='', wrap_

return self.file_data_text

def write(self, text='', bold_italics_code='', color='black', align='', marker='', wrap_width=120):
def write(self, text='', bold_italics_code='', color='black', align='', marker='', wrap_width=0):
"""Write text in ``file_Data_text`` string.

:param text: a text a string.
Expand Down