How-to guides ============= Export a diagram ---------------- Choose **Open in editor** below an example in the :doc:`editing lesson ` and wait for its preview. Choose **Download SVG** for a vector file or **Download PNG** for a raster image. Open the downloaded file to check the diagram before using it elsewhere. From a terminal, save the source as ``diagram.sheep`` and run either command: .. code-block:: shell sheeptext render diagram.sheep --out diagram.svg sheeptext render diagram.sheep --out diagram.png Share editable source --------------------- Open a diagram in the editor as above and choose **Share**. Open the copied URL in a new tab to check that the source loads. The link carries the source in its URL fragment. Anyone with the link can read and edit their own copy of that source.