Messages in this thread | | | Date | Thu, 10 May 2018 10:51:05 -0600 | From | Jonathan Corbet <> | Subject | Re: [RFC PATCH 1/2] scripts/kernel-doc: Auto-detect common code-blocks |
| |
On Thu, 10 May 2018 09:34:56 -0700 Matthew Wilcox <willy@infradead.org> wrote:
> I think this is a bit fragile. Why not just search for ':\n'? Is > there ever a case where we want to write: > > /** > * foo is a bar: > * wibble > */ > and have wibble not be a code-block?
Yeah, we might want to write something like:
- Leading off a bulleted list
1) or a numbered list
for example. That's why I was thinking of looking for explicit markers for such lists.
It'll take some playing around with to have a hope of getting right, methinks.
jon
| |