Is it normal that YARD doesn't replace `code` with <code>code</code>?

markup, rdoc, ruby, yard

Solution

The syntax is a little different from markdown (markdown vs rdoc) I suppose. Using `'+'` works. +code+ gets rendered in a `<code>` block.

Problem

I'm just starting to use YARD for documenting my Rails app. I didn't specify any specific Markup handler, but I would have expected that `code` would be converted to `code`, which doesn't seem to happen. Is this normal behavior? Do I have to add some additional option to make this work? Thank you.

Original source