/roam-extension-paste-from-pdf

Paste text from PDF without undue line breaks

Primary LanguageJavaScriptMIT LicenseMIT

When some text copied from a PDF is in the clipboard, the command Paste PDF text from clipboard, removing undue line breaks replace line breaks by space and paste the text in the current block, at the current cursor position.

Provide also the corresponding SmartBlocks command: REPLACENEWLINEBYSPACE with the text to paste as first argument. You can use it with the following SmartBlock (it can also be installed from the SmartBlocks Store).

- #SmartBlock Paste text from pdf (replace new line by space)
    - <%SET:cbText,<%CLIPBOARDPASTETEXT%>%><%REPLACENEWLINEBYSPACE:<%GET:cbText%>%>


For any question or suggestion, DM me on Twitter and follow me to be informed of updates and new extensions : @fbgallet.