Re: [whatwg/url] Consider railroad diagrams in syntax sections to aid understanding (#67)

I'm not sure what's missing?  You literally just need to use a `<dl>` or something for them.  The Bikeshed feature does precisely what it's supposed to do (generates a diagram), and leaves the rest of the markup to you, as it should.

Like, the Syntax spec has:

```
<dl>
 <dt id="comment-diagram">comment
 <dd>
  <pre class='railroad'>
  T: /*
  Star:
   N: anything but * followed by /
  T: */
  </pre>
 ...
</dl>
```

This way you can provide whatever markup you want. It's not useful for Bikeshed to be opinionated about the markup here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/67#issuecomment-268913597

Received on Thursday, 22 December 2016 23:29:53 UTC