detect all source statements used to split shiy server into separate files and replace them inline with the actual sourced code. Do this recursively for sourced files so we make sure there are no source statements left in the returned code
1 2 | parse_source_statements(code, dir,
regex = regex_pattern()$source_pattern)
|
code |
|
dir |
|
regex |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.