Skip to main content

paste_anything 0.1.1 copy "paste_anything: ^0.1.1" to clipboard
paste_anything: ^0.1.1 copied to clipboard

Platformweb

Copy and paste rich content on the web: reads Word, Excel, Google Docs, web pages, Markdown, LaTeX and images from the clipboard as clean HTML. Pure Dart, works with any editor.

0.1.1 #

  • PaeMathSnippet with display/inline flag; $$…$$ / \[…\] become display HTML (data-display="true").
  • Wider $…$ detection with currency safeguards; MathJax scripts in <head> are found; snippetsFromHtml / parseSnippet helpers.

0.1.0 #

  • Initial release: the copy-paste core of paste_anything_editor as a pure Dart, web-only package.
  • PaeClipboard: single-call clipboard read (HTML, text, image) with retry after the permission prompt; HTML and text writes.
  • PaeHtml.normalize: cleans Word, Excel, Outlook, Google Docs and web page HTML; strips scripts, embeds, event handlers and javascript: URLs.
  • PaeHtml.fromMarkdown, fromPlainText, toPlainText, detection helpers.
  • PaeMath: formula detection (KaTeX, MathJax, MathML, $..$) and clipboard helpers.
  • PaeTarget and PaePaster: plug the paste logic into any editor.
0
likes
160
points
88
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Copy and paste rich content on the web: reads Word, Excel, Google Docs, web pages, Markdown, LaTeX and images from the clipboard as clean HTML. Pure Dart, works with any editor.

Repository (GitHub)
View/report issues

Topics

#clipboard #html #paste #markdown #latex

License

MIT (license)

Dependencies

html, markdown, web

More

Packages that depend on paste_anything