Quote:
Originally Posted by billyray520
However, I know this is a style thing, but can you fix the plugin so it DOES NOT automatically put the square brackets around the footnote number?
|
The square brackets may not look aesthetically pleasing, but as Roger64 has already pointed out, they make it easier to select footnote links. If you don't like them you'll have to change the source code yourself.
If you have a Windows machine, use the following commands to display the FootnoteLinker plugin folder:
- Press Windows+R (Run).
- Copy and paste %USERPROFILE%\AppData\Local\sigil-ebook\sigil\plugins\FootnoteLinker and press Enter.
and change the following two lines in
plugin.py:
1. Change line 229 from:
Code:
each_tag.a.string = '[' + str(sup_counter) + ']'
to:
Code:
each_tag.a.string = str(sup_counter)
2. Change line 237 from:
Code:
each_tag.string = '[' + str(sup_counter) + ']'
to:
Code:
each_tag.string = str(sup_counter)