You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a relatively simple text file I get an exception with markflow.
This is the input:
The history of carbon capture took a new turn with the Sleipner project in Norway. The
Nordic country was among the first to implement a carbon tax in 1991. It gave companies
a financial incentive to reduce their carbon dioxide emissions.
When I use markflow with a line length of 78, it breaks:
markflow --line-length 78 ccs.md
File "/home/hanno/.local/bin/markflow", line 8, in <module>
sys.exit(__main__())
^^^^^^^^^^
File "/home/hanno/.local/lib/python3.11/site-packages/markflow/__main__.py", line 382, in __main__
exit(main(sys.argv[1:]))
^^^^^^^^^^^^^^^^^^
File "/home/hanno/.local/lib/python3.11/site-packages/markflow/__main__.py", line 377, in main
return _reformat_files(args)
^^^^^^^^^^^^^^^^^^^^^
File "/home/hanno/.local/lib/python3.11/site-packages/markflow/__main__.py", line 282, in _reformat_files
new_contents = reformat_markdown_text(old_contents, args.line_length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hanno/.local/lib/python3.11/site-packages/markflow/reformat_markdown.py", line 97, in reformat_markdown_text
raise ReformatInconsistentException(
markflow.exceptions.ReformatInconsistentException: Reformat of reformatted code results in different text. Please open a bug report or email [email protected]. (file: ccs.md)
The text was updated successfully, but these errors were encountered:
With a relatively simple text file I get an exception with markflow.
This is the input:
When I use markflow with a line length of 78, it breaks:
The text was updated successfully, but these errors were encountered: