The Share plug provides infrastructure for sharing pages outside of your space. It standardizes the (bound to Cmd-s or Ctrl-s) to share the current page or selection in various ways.

Supported out of the box:

  • Copy to clipboard as clean markdown (e.g. to copy into Github, Discourse or some other system that supports plain markdown). This makes the following modifications:
  • Copy to clipboard as rich text (e.g. to copy into Google Docs, Confluence or Word)
  • Publish to Y: When the $share attribute is configured in Frontmatter, see below.


Publishers

Specific implementations for publishing are implemented in plugs, specifically:
plug where shareSupport = true render [[Library/Core/Query/Page]]