GitMurf/roam-highlighter

Broken timestamp brackets and no nesting when highlighting on Telegram web

Opened this issue · 7 comments

Now:

  • Telegram Web
    • [TelegramUser]:
    • {massage 1}
    • [
    • 2:53:31 PM
    • ] [TelegramUser]:
    • {massage 2}
    • [
    • 2:54:04 PM
    • ] [TelegramUser]:
    • {message 3}
    • [
    • 2:55:01 PM
    • ] [TelegramUser]:
    • {message 4}

At least [] should not be broken, at best timestamp and massage should be nested blocks of TelegramUser.

@kvistgaard would it be acceptable to have it work like I have Slack working now where the username is main bullet and then the message is nested under it but do NOT include the date/time at all? Because the date/time are their own separate elements and structured in weird spots so it is easiest just to filter/ignore them which will fix the issues you posted above. Let me know! Thanks.

@kvistgaard - Ok how does this look?

DobpYzdzgW

Here is how it pastes into Roam. The blue is my custom css for italics. So it makes the username italics and nests their messages under them.

image

...and it is [[user]] instead of [user], in cases where the name is exactly the same, this can bring additional benefit.