Skip to main content
Participant
May 19, 2025
Question

How to add content tabs, and "copy code"?

  • May 19, 2025
  • 2 replies
  • 129 views

I have two questions:

  1. Is it possible to add "content tabs" in RH? Something similar to the PyMarkdown "Tabbed" function?

  2. For code blocks added/embedded into a page, is it possible to a "Copy" function (i.e., a button that is revealed in the code block, or next to, that allows the user to copy the contents of the code block)?

    2 replies

    Inspiring
    May 19, 2025

    It's not impossible, but that would take layers upon layers of shoddy workarounds. At that point you might be better off using Mkdocs or something that natively supports those features.

    kd_0150Author
    Participant
    May 19, 2025

    And, how can I ensure that once I do an Output , publish the page, that the custom JavaScript content will remain?