Add support for emails/hyperlinks

It would be nice to have a way to generate the .MT/.ME and the .UR/.UE roff macros.

Ref https://github.com/emersion/mako/pull/233

Assigned to
4 years ago
9 months ago
No labels applied.

~sircmpwn 4 years ago

Would this fix anything? Is there a terminal sequence which hints that some text is a URL? Do any man viewers take advantage of such a sequence?

~sircmpwn 4 years ago

Also, need to figure out if that's part of standard roff, or mdoc, or gnu roff, which is not always easy to determine.

~emersion 4 years ago

Yes there is a terminal escape sequence for this: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

I need to dig a little bit more to check if man viewers support it.

~sircmpwn REPORTED WONT_FIX 2 years ago

~jatone 2 years ago

link/cross reference stuff is mdoc from what I can tell. sad this won't be supported as a result. makes it painful to expose a webpage version of scdoc generated pages. I assume there is 0 interest in used the mdoc version for generated pages?

~sircmpwn 2 years ago

No, there is no plan to support mdoc.

~emersion 9 months ago

link/corss reference stuff is not mdoc.

.MR would be useful as well for referencing another man page.

Register here or Log in to comment, or comment via email.