question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline fields multiline lists and texts

See original GitHub issue

I would like to have a nicer syntax for multiline lists in inline fields.

Right now we have two ways to define fields

front matter

---
my-list:
  - long item with commas,,,,and quotes"""" etc
  - another item
---

and inline field

my-list:: long item with commas,,,,and quotes""""
my-list:: another item

front matter approach has its own flaws with escaping single and double quotes, that I don’t want to touch here

so I am more interested in the better way of handling multiline lists in inline fields with something like

my-list:: @@@
  - long item with commas,,,,and quotes""""
  - another item
@@@

@@@ -is just a marker for multiline field

This approach will also allow setting multiline text variables

my-multi-line-text:: @@@"
Really long text with any possible characters including "quotes",
line breaks

empty lines

etc
"@@@

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
blacksmithgucommented, Jan 28, 2022

I’m still fiddling with some performance things, but Dataview does have a full markdown parser implementation now (that’s just not hooked up to the indexer): https://github.com/blacksmithgu/obsidian-dataview/blob/master/src/data/parse/markdown.ts.

We can afford to be more aggressive with a real markdown parser, since it includes indentation information & other things for paragaphs. So we could simply use indented codeblock syntax:

field::
    I am an indented codeblock, which would now allow for arbitary multiline text!
3reactions
zsvicziancommented, Jul 29, 2022

I see this feature-request has been quite since January. This would make list of links in a field much more readable.

From my very limited perspective if the following list format would be supported that would drastically improve readability of long list:

field::
- [[Item 1]]
- Item 2
- [[Item 3]]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Applying Column Formats to Multi-line Text Fields
Applying Column Formats to Multi-line Text Fields · Navigate to the List Settings (Site Actions > List Settings): · Choose the multi-line column ......
Read more >
How to Create a Multi-Line Text Input Field In HTML - W3docs
In this snippet, we'll demonstrate how to create a multi-line text input field in HTML. Read this tutorial and see how this can...
Read more >
Difference between a single-line vs. multi-line text column in ...
There are two types of text columns – single-line or multi-line – that you can add to a SharePoint list or library.
Read more >
Add Single line of text / Multiple lines of text Fields to ...
How to programmatically Add a Single Line of Text field or Multiple Lines of text fields to SharePoint List using PowerShell:.
Read more >
Considerations for Inline Editing in a List View in Lightning ...
Not all fields on records in a list view or multiline layout view can be inline edited. To find out whether a field...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found