Let's start with one of the simplest possible cases, where the user clicks the ~code:Wordpress~ button. This will cause a message to be sent to the ~code:wordpress.ecs~ module. The module only ever expects to receive one kind of message, so the content is empty. The module will already have loaded the ~code:wordpress.md~ Markdown file, so all it needs to do on receiving the message is to call the ~code:Showdown~ module, passing it the page script. This is formatted by ~code:Showdown~ and placed in the main viewing panel.
0 commit comments