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

SyntaxError #2

Open
bonnebulle opened this issue Jul 22, 2023 · 2 comments
Open

SyntaxError #2

bonnebulle opened this issue Jul 22, 2023 · 2 comments

Comments

@bonnebulle
Copy link

I have an output error
I do :

cat test_fn.md | sort_footnotes > beautiful-text.markdown

output :

  File "/usr/bin/sort_footnotes", line 52
    print text
    ^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

What can I do ?
Am no a python pro.
Thanks, great tool idea

@panosalevropoulos
Copy link

It should be print(text).

@hellt
Copy link

hellt commented Sep 7, 2024

I've made some adaptation to this script. Great work from the prev authors.

You can check my fork if you want to have a revitalized script https://github.com/hellt/markdown-footnote-sorter

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

3 participants