francostellari / NppPlugins

Other
106 stars 6 forks source link

New TakeNote substitution string $firstline$ ? #2

Closed killwas closed 3 years ago

killwas commented 3 years ago

Hello,

could you consider to include a new substitution string in TakeNote? $firstline$ would be the first line of text in the note, acting as a title, and used as part of the file name. Maybe truncated to 80, or so, characters, spaces and special characters replaced by an underscore.

Example: Conference with Stellari could become Conference_withStellari 20210323_092439.note.

Cheers Kurt

francostellari commented 3 years ago

I added the feature in the new version. You can test it out here: https://github.com/francostellari/NppPlugins/blob/main/TakeNotes/TakeNotes_dll_1v21_x64.zip Eventually it will percolate to the pluginmanager. Regards,

On Tue, Mar 23, 2021 at 4:26 AM killwas @.***> wrote:

Hello,

could you consider to include a new substitution string in TakeNote? $firstline$ would be the first line of text in the note, acting as a title, and used as part of the file name. Maybe truncated to 80, or so, characters, spaces and special characters replaced by an underscore.

Example: Conference with Stellari could become Conference_withStellari 20210323_092439.note.

Cheers Kurt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXIQ4W3IRHH4R5VGSAILTFBGDPANCNFSM4ZUWB7OQ .

-- Franco