Add link to title from scratch output

Did you already try the snippet that @pointyfar gave in another thread?