Allow to change how inline links are displayed in notes

WHAT DO YOU RECOMMEND

There is currently no way to influence how linked objects are displayed on a page.

For example:

  • you have a page and insert a note in it.
  • the contents of the note are:
first line
second line
third
and this is the last
  • when you go back to the original page this is displayed as first line second line third and this is the last

This in my opinion negatively affects the ux, since it displays more information than necessary.

HOW COULD IT BE DONE

  • instead of showing the first x words i think it should only show the contents of the first line of said note, or alternatively the contents of the first H1 headline

REAL WORLD USE CASES

  • i look at these links everyday

RECOMMENDED ALTERNATIVES

  • some markdown parsers have the concept of frontmatter where additional metadata (like a page title) could be stored. examples of such frontmatter are in Markdown | Front Matter or Slide Options - HedgeDoc. But this seems overblown and probably also duplicate with the way attributes can be attached to objects in anytype.

ADDITIONAL CONTEXT

Something to do with this other request, choose what we want to preview (so here : no text)?