r/SolarOS • • 5d ago

Markdown Viewer

I made a markdown viewer (with lots of help from AI) that displays formats, allows you to follow links, include files and images, Has code fences.

I am going to do some more improvements before adding it to the playground.

Commands:

/ to find

- font smaller

= font bigger

b to go back when following links

https://github.com/rangerfriday/mdview/tree/main

4 Upvotes

13 comments sorted by

3

u/thisaccountbemine 5d ago

Spreadsheet program due friday.

1

u/nilseuropa 4d ago

What would that do in respect to the built-in 'sheet' app? ( that can only render and edit CSV files )

1

u/thisaccountbemine 4d ago

Well it does the math, allows editing, saves as csv.

#WIDTHS:0:20,1:9,2:5,3:5
,
Loan Amount,150000
Intrest Rate,6.5
Length of Loan,20
,
----------,
Monthly Intrest,=B3/100/12
Number of Payments,=b4*12
Monthly Payment,=b2*(b7*(1+b7)**b8)/((1+b7)**(b8)-1)

1

u/nilseuropa 4d ago

Very cool!

1

u/thedecibelkid 4d ago

I'm desperate for someone to do a csv equivalent of markdown and for online viewers and editors to support it. Just the basic sum, average functions etc. nothing too fancy

1

u/thisaccountbemine 4d ago

Mostly thats kinda sorta - a little bit, what this is. It can take any csv file and spreadsheet it, it supports sums min max, python functions, vlookup, instr and a handfull of other things. Its built to hold a character sheet for a pen and paper rpg.

1

u/nilseuropa 4d ago

You know that the built-in reader does much of that already?

2

u/thisaccountbemine 4d ago

Yes, and the built in one is faster, and likely less likely to crash. But I really wanted a few features like includes, and links. Specifically for using during playing TTRPG. One of the features of solaros is your not limited to what was made for you. If you want, do it yourself. This to me is a huge selling point over using a PDA or something..

1

u/nilseuropa 4d ago

Absolutely right, I was just curious :) cool!

2

u/thisaccountbemine 4d ago

Thanks, I want to convert pdf and epub to markdown, with some image support so I can have easy editing and display of thousands of documents for a nice offline library. I havent had much luck with the build in epub viewer, but markdown is better anyway for editing.

1

u/LowFlowIO 4d ago

Be careful, PDF is a dirty word. I'd suggest you slow down throwing things at the wall for a bit and evaluate what's already there and we can discuss how it can be improved upon.

1

u/thisaccountbemine 4d ago

How is that a dirty word?

1

u/thisaccountbemine 4d ago

Ok, I guess after the spreadsheet part, I will take a break had a few more ideas but sure if thats what the mods want.