The path to the program used to create odg-graphics depends on the OS. We use the function get_os() to determine on which OS, we are running and based on that, we are returning a fixed string corresponding to the path to the program for odg-graphics. In most cases, LibreOffice draw is used to create the odg-graphics files.
1 |
1 2 3 4 5 | ## Not run:
get_odg_prog_path()
# returns /Applications/LibreOffice.app/Contents/MacOS/soffice on OSX
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.