obsidian-numerals

An obsidian plugin which turns a math code block into a full featured calculator

OTHER License

Stars
404

Bot releases are hidden (Show)

obsidian-numerals - 1.4.1

Published by gtg922r 8 months ago

🧪 Beta Release 1.4.1 🧪 (Bug fix only)

  • Fixes bug with result insertion. Result insertion can now be used on the same line as initial assignment to a variable:
a = 1
b = 2
@[result] = a + b

Once rendered, will become:

a = 1
b = 2
@[result::3] = a + b
obsidian-numerals - 1.4.0

Published by gtg922r 8 months ago

🧪 Beta Release 1.4 🧪

Support for frequently requested features!

  • "Sum" (or "Total") feature
  • Page "Globals" (i.e. shared variables)
  • Result Insertion: Calculation result added to note source using dataview syntax

🚧 Note to Beta Testers: Supporting sums/totals requires some additional pre-processing by Numerals. "Globals" is dependent on when blocks get rendered. Please report any bugs you see as I may have missed some corner cases! 🚧

Numerals 1.4 (Beta) includes support for one of the most commonly requested features: The ability to quickly sum previous lines. Numerals now offers a magic variable @sum or @total, which will always be populated with the sum of all previous lines up to a blank line or header/comment. As a magic variable it can be used in equations, conversions, or assignment to other variables.

Numerals 1 4 Beta Screenshot Sum-Total

Numerals 1.4 (Beta) includes support for "globals" - variable values that keep their value across code blocks. This should be considered experimental - please report any issues! In a code block, create a new variable prefixed with a $. That variable will be available in later math codeblocks.

Warning: Numerals can't ensure a consistent ordering of math block evaluation. If you assigned a value to a global in multiple code blocks you may get unexpected results. Its best to only assign the value in one place.

Numerals 1 4 Beta Screenshot - Globals

Numerals 1.4 (Beta) has 🚨 experimental 🚨 support for "result insertion". Wrapping a variable name in @[...] (e.g. @[result]), will tell Numerals to insert the value of the variable into the source of the note itself using dataview notation (e.g. variable::value). This allows you to ensure calculation results are saved to the source of the note (in case you ever use outside of Obsidian), as well as setting dataview values using Numerals.

Numerals 1 4 Beta Screenshot - Result Insertion

Numerals 1.4 (Beta) also adds a convenience feature for autocomplete of greek characters, by typing : in a math block and then starting to type the name of the character. Greek characters are fully supported by Numerals' math engine, so you can name your variables using math characters. This includes in -tex mode, where subscript support is also included, and ω_n will render as $ω_n$
Numerals 1 4 Beta Screenshot Greek
Note: this feature can be disabled in settings if it conflicts with any autocomplete tools you already have

obsidian-numerals - 1.0.3

Published by gtg922r almost 2 years ago

Manifest tweak

obsidian-numerals - 1.0.2

Published by gtg922r almost 2 years ago

Update description in manifest

obsidian-numerals - 1.0.1

Published by gtg922r almost 2 years ago

Minor settings tweak and metadata updates for plugin submission

obsidian-numerals - 1.0.0

Published by gtg922r almost 2 years ago

Initial 1.0 release, ready for plugin store submission

obsidian-numerals - 0.0.12: TeX Rendering and Syntax Highlighting! Also better error messages

Published by gtg922r almost 2 years ago

Numerals now supports TeX style rendering and Syntax Highlighting of math blocks!

Either go to settings to change the default render style, or force the render style for a specific math block by using math-plain, math-tex, or math-highlight

Numerals Render Style Comparison

Better Error Messages

Error messages are now reported in the line where the error occurred to better troubleshoot any issues.
Numerals Error Reporting

This is the last major release before 1.0 and submitted to plugin store!

obsidian-numerals - 0.0.9: Additional currency support

Published by gtg922r almost 2 years ago

Add support for:

  • € => EUR
  • £ => GBP
  • Â¥ => JPY

In a future feature will allow user to define custom mapping of currency code to currency symbol, if for example you want redefine $ to map to AUD, or if you want to add ₹ mapping to INR, etc

obsidian-numerals - 0.0.8 Final tweaks before initial beta

Published by gtg922r almost 2 years ago

obsidian-numerals - 0.0.7: Fix styling bug from rename

Published by gtg922r almost 2 years ago

Lost a styles.css update somewhere along the line

obsidian-numerals - 0.0.6: Simple Error Handling

Published by gtg922r almost 2 years ago

Add simple error handling to the rendered view

obsidian-numerals - 0.0.5

Published by gtg922r almost 2 years ago

  • Comment lines bold and faint
  • Several tweaks to layout and styles
  • First README
obsidian-numerals - 0.0.4

Published by gtg922r almost 2 years ago

  • Cleaned up styling CSS and added alternating row color option
obsidian-numerals - 0.0.3

Published by gtg922r almost 2 years ago

  • Add 3 display types
  • Update plugin name
obsidian-numerals - Initial pre-alpha release with base functionality working

Published by gtg922r about 2 years ago

Related Projects