I would prefer the following for readability...

    .bold
      The class foo
      = bar
      is baz.

But at least use one space after `-` or `=`, please. Or at least do not use it consistently ;-).