Skip to main content

Add Embeds, Diagrams and Record Links to Documents

Show videos, Scribe guides and web pages inline, draw diagrams from text and link to related records without leaving the document.

Show videos, Scribe guides and web pages inline, draw diagrams from text and link to related records without leaving the document.


TL;DR Embed a video, Scribe guide or web page, draw a flowchart with Mermaid, and link to passwords and other records with @ - all from the document editor.


Embed a video or web page

An embed shows another site's page or video inside the document, so readers can watch a walkthrough or check a dashboard without leaving Lexful.

  1. Open the editor. Open the document and choose Edit.

  2. Place the cursor. Click where the embed should appear.

  3. Open the dialog. Choose Insert embed in the toolbar.

  4. Paste the embed address. Enter the page's embed address in Embed URL. Most sites offer one under a Share or Embed option.

  5. Add a title (optional). Describe what the embed shows, such as "Firewall reset walkthrough". Screen readers announce this title.

  6. Insert and save. Choose Insert, then Save changes.

Where to find the embed address

  • YouTube: Choose Share > Embed on the video and copy the address inside src="...". It starts with https://www.youtube.com/embed/.

  • Scribe: Choose Share on the guide, copy the embed code and take the address inside src="...". It starts with https://scribehow.com/embed/.

📝 Note: Only secure https addresses can be embedded, and Lexful pages can't be embedded in other Lexful documents. To point readers to another record, link to it instead, as described in Link to another record below.


Embed a Scribe guide

A Scribe guide embedded in a document keeps its screenshots and steps in one place, next to the notes that go with them. Readers choose Get Started and step through the guide with Next and the back arrow without leaving Lexful.

Follow the steps in Embed a video or web page above using the guide's https://scribehow.com/embed/... address. Enter a Title such as "Scribe guide: Reset a user's MFA".

💡 Tip: The guide's share link, which starts with https://scribehow.com/shared/, also loads. It shows the full Scribe page with Scribe's own header instead of the compact step player, so use the embed address for a cleaner result.


Resize or move an embed

A new embed fills the width of the document.

  1. Resize. In the editor, drag one of the embed's bottom corners. The embed keeps its proportions.

  2. Move. Drag the embed to a new position in the document.

  3. Save. Choose Save changes.

Embedded pages load when readers scroll to them, and videos can be played full screen.

📝 Note: In downloaded documents and Ask Lex replies, each embed appears as its address, for example embed: https://www.youtube.com/embed/....


Draw a diagram with Mermaid

Mermaid turns a few lines of text into a flowchart or other diagram, so a process can be updated by editing text instead of redrawing an image.

  1. Add a Mermaid block. In the editor, start a new line, type ```mermaid and press Space. To use an existing code block instead, choose mermaid from the language selector at the top of the block.

  2. Write the diagram. Enter the diagram text using Mermaid syntax.

  3. Check the result. Choose Preview to see the diagram, and Code to return to the text.

  4. Save. Choose Save changes.

Readers see the diagram rather than the code, and it follows the light or dark theme.

⚠️ Warning: If the diagram text contains a mistake, the error message appears where the diagram would be, and readers will see it. Always check Preview before saving.


Link to another record

Link a password, document or other record by name, so readers can open it straight from the document.

  1. Start the search. In the editor, type @ at the start of a line or after a space.

  2. Find the record. The search covers the document's organization. To find a record in another organization, choose @ Organization and pick that organization.

  3. Add the link. Choose the record, then choose Save changes.

Readers choose the link to open the record. A password link opens the password's quick view, so the credentials can be copied without leaving the document.

📝 Note: The link shows the name the record had when it was added. If the record is renamed later, the link still opens it, but the old name stays visible. Delete the link and add it again to show the new name.

📝 Note: @ doesn't open the search inside code or code blocks.


Paste from Word

Copy content from a Word document and paste it into the editor. The text and its images come across together, and the images upload into the document.

⚠️ Warning: Wait for the image uploads to finish before choosing Save changes, or images that are still uploading may be missing from the saved document.

If some images can't be read from the clipboard, a message asks you to paste them one at a time. Copy each missing image from Word and paste it where it belongs.


Keep steps together in lists

Press Tab on a plain line to turn it into a bulleted list item.

Inside a numbered or bulleted list, a code block, quote or heading added to a step stays part of that step. The numbering continues afterwards, so a step can include the command to run without splitting the procedure into two lists.

💡 Tip: Use this to put the exact command to run directly under the step that needs it.


Troubleshooting embeds

The embed is blank or shows a refused message. The site doesn't allow its pages to appear inside other pages. Use the site's embed address instead of the address in the browser bar, for example https://www.youtube.com/embed/... instead of https://www.youtube.com/watch?v=.... If the site doesn't offer an embed, add a normal link with Insert/Edit Link instead.

"Enter a valid https URL." The address must start with https://. Sites that only offer http can't be embedded.

"That site is not allowed to be embedded." Lexful pages can't be embedded. Type @ to link to the record instead, as described in Link to another record above.

Sign-in, buttons or forms inside the embed don't respond. Embedded pages can't open new windows or submit forms. Add a link so readers can open the page directly.


Did this answer your question?