Skip to content

Ability to include a multiline description with a link #5

@simonw

Description

@simonw

It would be handy if I could produce something like this:

This is a link
This is a multiline description associated with that link.
It can contain line breaks.

Easiest way to do this would be to add an optional "description" key to the link form, which knows that newlines should be replaced with <br>.

So...

select json_object(
  'href', 'https://simonwillison.net/',
  'label', 'This is a link',
  'description', 'This is a multiline description associated with that link.
It can contain line breaks.')

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions