You are not logged in.

#1 2025-10-17 17:19:01

coattail
Member
Registered: 2025-10-17
Posts: 4

[SOLVED] View text with higlights and tags in separate window pane

Dear Arch users,


this would be my first post on Arch forums so please bear with me.

I am searching for application that could manipulate .txt .md .html files where there is possibility, inbuilt or extended through addon, of highlighting text and when reviewing those files displaying all highlights (bookmarks, underlining etc  in a separate pane where there is a option to click on particular highlight, bookmark etc and instantly focusing on that part of text.
Wasn't lazy, looked through multiple applications but was primarily focused on gaining before mentioned feature through vim, emacs or some other ubiquitous program which isn't electron based or bloatfull.

All the best.

Last edited by coattail (2025-11-03 14:41:58)

Offline

#2 2025-10-17 18:34:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,517

Re: [SOLVED] View text with higlights and tags in separate window pane

Chomium ?   Firefox?

Use file://path/to/your/file to open your file.  F12 to open the developer tools.  Pick the elements tab.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2025-10-17 19:17:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,964

Re: [SOLVED] View text with higlights and tags in separate window pane

could manipulate .txt .md .html files … which isn't electron based or bloatfull

Afaiu OP's looking for an editor that can bookmark lines (fairly common) and then access those bookmarks from a reference pane.
https://aur.archlinux.org/packages/sqriptor-git can of course keep bookmarks but does not have some index access list.

If you don't find anything else that makes you happy and overall like sqriptor, ping back and figure whether you're more looking for some side pane you'll operate w/ a mouse or some fzf/rofi/dmenu-style access where you'd enter a filter to match-find the indexed line and select that via keyboard/mouse.
Sounds interesting enough and I more or less already know how I'd integrate the fzdrofi-style thing…

Online

#4 2025-11-02 11:03:14

coattail
Member
Registered: 2025-10-17
Posts: 4

Re: [SOLVED] View text with higlights and tags in separate window pane

seth wrote:

could manipulate .txt .md .html files … which isn't electron based or bloatfull

Afaiu OP's looking for an editor that can bookmark lines (fairly common) and then access those bookmarks from a reference pane.
https://aur.archlinux.org/packages/sqriptor-git can of course keep bookmarks but does not have some index access list.

If you don't find anything else that makes you happy and overall like sqriptor, ping back and figure whether you're more looking for some side pane you'll operate w/ a mouse or some fzf/rofi/dmenu-style access where you'd enter a filter to match-find the indexed line and select that via keyboard/mouse.
Sounds interesting enough and I more or less already know how I'd integrate the fzdrofi-style thing…


Hi Seth,


well was looking for more something like this, example in linked image below:

example

Where you have code editing area, outline with TOC of document, pane with live preview and to me most important an outline of all highlights and/or bookmarks made to that text - if that is possible to get from some Linux application.

What is my goal? Scrape a webpage, highlight relevant parts of text and get them into processing to some other application - lets say for reviewing or learning something. Yet sometimes would like to review scraped website again and get my initial highlights or bookmarks, underlines etc shown in some sideline, outline of application.

Unfortunately haven't found anything to my liking. How could that be achieved via fzf/rofi/dmenu route if you can elaborate please?

Offline

#5 2025-11-02 15:57:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,964

Re: [SOLVED] View text with higlights and tags in separate window pane

You're rather looking for a markdown IDE like https://aur.archlinux.org/packages/mindforger ?

Online

#6 2025-11-02 17:05:22

killertofus
Member
Registered: 2025-02-10
Posts: 90

Re: [SOLVED] View text with higlights and tags in separate window pane

if you install neovim and the plugin knap with zathura it can do what you want

neovim and the plugin for “auto-refreshing” or “self-updating” preview of the results of the file being edited

and zathura for bookmarking/underlining text, then you can click/use a keybinding to go to that part of text

Last edited by killertofus (2025-11-02 17:06:21)

Offline

#7 2025-11-03 14:38:22

coattail
Member
Registered: 2025-10-17
Posts: 4

Re: [SOLVED] View text with higlights and tags in separate window pane

Guys think this will be enough, have missed knap plugin, but think this is the right track - will explore further, mindforger also looks interesting. Many thanks!

Offline

Board footer

Powered by FluxBB