Skip to content

Can't make list of numbers #96

Description

@infinitesteps

Describe the bug
Can't create list of numeric items. Discovered when trying to list versions of software

To Reproduce

>>> from mdutils.mdutils import MdUtils
>>> mdf = MdUtils('foo.md', title='Foo')
>>> mdf.new_list(['foo', 'bar'])
>>> mdf.new_list(['1.2', '1.3'])
>>> mdf.create_md_file()

results:

Foo
===

- foo
- bar

1.2
1.3

Expected behavior

Foo
===

- foo
- bar

- 1.2
- 1.3

Desktop (please complete the following information):

  • macOS 12.6.5 (21G531)
  • Python 3.11.1
  • mdutils-1.6.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions