sillycode
    Preparing search index...

    Function render

    • Renders parsed sillycode parts as HTML.

      Set isEditor to true to include visible markup tags for editing purposes.

      By default, emotes are rendered as images with the source prefix /static/emoticons/, for use on sillypost.net. If you want to use a different source prefix, you can pass it as the emoteSrcPrefix parameter.

      Parameters

      • parts: Part[]

        The array of parsed parts to render

      • OptionalisEditor: boolean

        Whether the output is for an editor or not

      • OptionalemoteSrcPrefix: string

        The prefix to use for emote image sources

      Returns string

      The rendered HTML as a string