fsnotes icon indicating copy to clipboard operation
fsnotes copied to clipboard

Document how to use Soulver expressions

Open jasonekratz opened this issue 2 years ago • 1 comments

Describe your feature request

You've got a killer feature in here that basically has no documentation. SoulverCore features are a fantastic resource and just pointing to the "getting started" page for the library itself will put anyone off using this functionality. Soulver itself has great documentation (I know, I've been a user for years). FSNotes should have much better documentation for a feature that is quite unique among notes apps.

Additional context None

jasonekratz avatar Sep 23 '23 00:09 jasonekratz

This is true, every time I go to use it I have to spend time trying to find out how.

gingerbeardman avatar Sep 23 '23 13:09 gingerbeardman

Yes, please! I am stumped. Do I use a Soulver code block? Inline code? Plain text?

tryonkus avatar Apr 20 '24 15:04 tryonkus

From "Meet FSNotes" sample file:

Soulver core

In collaboration with Zac Cohan, SoulverCore syntax has been added. This calculator now displays in Preview mode. Read more about its functions here: https://github.com/soulverteam/SoulverCore#getting-started

Example: 9:35am in New York to Japan = {9:35am in New York to Japan}

so: use { and } and toggle Preview mode to see the results.

gingerbeardman avatar Apr 20 '24 15:04 gingerbeardman

I’d read through the Readme pretty thoroughly but had missed that. Thanks!

tryonkus avatar Apr 20 '24 15:04 tryonkus

Hrmmmm, not seeing that sample note in the version of FSNotes I just purchased from the Mac App Store. Maybe it’s in the website version.

tryonkus avatar Apr 20 '24 16:04 tryonkus

Perhaps it only appears in the initial blank install?

But it's definitely included in the app resources. There is no web version of the app.

https://github.com/glushchenko/fsnotes/blob/master/Resources/Initial/Meet%20FSNotes%206.textbundle/text.markdown?plain=1

gingerbeardman avatar Apr 20 '24 18:04 gingerbeardman

I just installed yesterday on both iOS and macOS. There are nine notes in the Introduction folder, and I have two copies of each (I set the base folder in iCloud to be the same for both versions).

The iOS page on the FSNotes site looks very similar to what you sent and includes a reference to Soulver, sans the braces example. https://fsnot.es/fsnotes6-for-ios/

Soulver support (probably the author) told me about the braces, but I’m not finding it in the FSNotes documentation. My guess is that Oleksandr rewrote the documentation for the new release and just missed that bit. Sounds like life has been hectic, being in a war zone and all. I’m impressed that he was able to get a major revision released under the circumstances.

tryonkus avatar Apr 20 '24 19:04 tryonkus

The document you linked is almost identical to the iOS notes, but they don’t include the Soulver example. Odd, but thanks for your help. 🙂

tryonkus avatar Apr 20 '24 19:04 tryonkus

FWIW, this is a copy of the Welcome folder that FSNotes installed: https://www.dropbox.com/scl/fo/qvfko0d46qqcizwk8x4c9/AL1OBWzNQz9C4Df3HZfBmu4?rlkey=v9sxzvnn7nvx9mj60k3jkouic&dl=0

tryonkus avatar Apr 20 '24 20:04 tryonkus

Hi guys and @tryonkus, saw your email, replying here:

The code in curly braces { } is currently interpreted as Soulver code if you enable this in the View menu.

There are some examples here: https://soulverteam.github.io/SoulverCore/documentation/soulvercore/gettingstarted

I don't use it, so there's nothing to document.

glushchenko avatar Apr 20 '24 21:04 glushchenko

OK—I had asked the Zac Cohan about Soulver's intended use (natural language calculator with some text capability) versus a note taking app with a calculator, and he pointed me to FSNotes. I'm all over Markdown apps, and I was just exploring features and breaking stuff. 😏

tryonkus avatar Apr 20 '24 22:04 tryonkus

On FSNotes desktop Version 6.6.8 (615)

I have to put {calculator.calculate()} at the end of my document to get Soulver to actually calculate anything before the {calculator.calculate()}

This is with View/Preview Soulver Calculator turned on. With it off, it acts just like I didn't put {calculator.calculate()} at the end of the document.

Note: {calculator.calculate()} shows as normal text and is shown.

Example markdown:

 9:35am in New York to Japan = {9:35am in New York to Japan}
{10% of 5000}
{$25/hour * 14 hours of work}
{January 30 2020 + 3 months 2 weeks 5 days}

Compound Interest:

{$25k over 10 years at 7.5%}

{123 + 456}
{65 kg in pounds}

{$10 for lunch + 15% tip}
{calculator.calculate()}

returns this in preview mode(alt+/)

9:35am in New York to Japan = 10:35 PM
500
$350.00
May 19, 2020

Compound Interest:

$51,525.79

579
143.3004704202 lb

$11.50
{calculator.calculate()}

birlorg avatar Aug 14 '24 04:08 birlorg