I've been working on creating my first homebrew plugin for our site, and I'm so daggone proud of what I've been able to do so far. The plugin is called by a shortcode - in the plugin, I've successfully connected to our FileMaker cloud database and retrieved values from a record using that API. I've also succesfully decoded the JSON that comes back from the GET request, and busted out all the values in to variables within the plugin.
...pats myself on my amateur developer back....
Okay, so in the plugin I've got about 12 variables that get their value from the corresponding table in FileMaker (e.g. $name $weight $date_modified $status).
Now here's the question - what's the best way to display those values on the page that has the associated shortcode?
I've played around with using echo in the plugin, and that kicks back the variable - but is there a good way to be able to display the variable values using formatting provided by my site's theme? Is it good form (or even possible) to use theme shortcodes inside my own plugin?