This is an Obsidian plugin for auto-generating truth tables with pre-filled truth values.
Create tables manually with chosen number of variables and columns.
example1.mp4
(UI is pre-v1.0.2) Quickly create any size truth table.
example2.mp4
(v1.0.3 or later) Create truth tables from LaTeX formula.
example3.mp4
Configure how the plugin should fill out your tables in settings.
Open your command palette and type in "Truth Tables":
Selecting the first option will allow you to manually create a truth table:
Which will generate the following table:
F | F | F | ||
F | F | T | ||
F | T | F | ||
F | T | T | ||
T | F | F | ||
T | F | T | ||
T | T | F | ||
T | T | T |
You may generate a truth table from a LaTeX formula by selecting the second option:
Which will generate the following table:
F | F | F | ||
F | F | T | ||
F | T | F | ||
F | T | T | ||
T | F | F | ||
T | F | T | ||
T | T | F | ||
T | T | T |
Version 1.0.2:
- Initial release.
Version 1.0.3:
- Add ability to generate table from LaTeX formula.
Version 1.0.4:
- Use a more generic syntax parsing to handle more LaTeX commands.
- Allow no whitespace between command and brackets.
This section is related to maintanance of the plugin's repository.
- Update your
manifest.json
with new version number. - Commit changes.
- Create tag:
git tag 1.0.0
- Push commits and tag:
git push --atomic origin master 1.0.0
- Clone this repo.
npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch mode.
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.