On Wed, Mar 6, 2019 at 6:39 AM Arthur A. Gleckler <xxxxxx@speechcode.com> wrote:
 
It's possible to use even simpler markup by relying on context to understand that arguments are arguments:
<div class="proc def">
  <span>make-array</span>
  <var>interval</var>
  <var>getter</var>
  <var class="opt">setter</var></div>

Here's a slightly better example that includes multiple optional arguments as well as example CSS:

<style>
 .def::before {
   content: "Procedure: ";
 }
 .def::after {
   content: ")";
 }
 .def span:first-child {
   font-family: monospace;
   font-weight: bold;
 }
 .def span:first-child::before {
   content: "(";
 }
 .opt::before {
   content: "[";
 }
 .opt::after {
   content: "]";
 }
</style>
<div class="proc def">
  <span>make-array</span>
  <var>interval</var>
  <var>getter</var>
  <span class="opt"><var>setter</var> <var>foo-er</var></span></div>

Here's what it looks like in Firefox:

srfi-markup-example.png