Comment by tmtvl

3 months ago

If you want to write a code example on HN you can just indent it by 2 spaces and it'll work like you'd expect. For example:

  #!/usr/bin/env rdmd
  D code...

Thanks. I didn't catch that it didn't display correctly until it was too late to edit it.