Replace nextd/prevd <pre>s with \code