dylangiesberts / obsidian-table-checkboxes Goto Github PK
View Code? Open in Web Editor NEWObsidian plugin. Allows for the usage of checkboxes inside markdown tables.
License: MIT License
Obsidian plugin. Allows for the usage of checkboxes inside markdown tables.
License: MIT License
I'll keep it short. I did everything as you described but when i print - [ ], normal checkbox appears and it is not readable with reading mode. The problem is i print - , okey [,okey, i press two spaces so now i have [ , allright, but when i close bracket html code doesn't appear. It continues as usual and i can't use checkbox with tables. I use the latest version both obsidian and plugin. Do you think where is the error?
Might it be having trouble with other plugins?
The plugin does not seem to work
Things I have tried:
Are there any dependencies in the plugin regarding OS or other plugins or Obsidian versions?
First off, thank you for making this plugin! It is a relief that I can now have checkboxes in my tables.
I am having an issue related to the state of the checkbox, i.e. whether it is checked or not. It seems like the html is not getting updated when the box becomes checked? This is causing an issue with being able to sync the tables - if I check off a box on one device, the box still shows as unchecked on another device.
Is this intentional?
Basically what the title says, it'd be cool if we could install it directly from Obsidian!
Thanks for your work!
Tried any possible style to create a checkbox inside a table. Tried to create a table around it... nothing seems to work.
first issue: obsidian autocompletes the ]
of - [ ]
after you type - [
, so it's unintuitive to have to type ]
when it's already there.
second issue: even when you type ]
, the checkbox gets inserted but the ]
stays there:
Hey! I really need this thing. But for some reason it doesn't work. I can put a checkbox in the table and it changes to HTML, but when I click on it the unchecked attribute doesn't change to checked. Maybe I did something wrong, or is it a bug at the moment
In Line 23 of main.ts
, a return statement is applied on this.handleCheckboxReplacement
, while in line 32, it isn't. Line 23 is the only place in the entire main.ts
, where a return is applied on a non-returning function.
I suggest using void
return types for all for this.handleCheckboxReplacement
and all other non returning functions, since the compile will throw an error.
Thank you again for the recent update, I'm happy to say it's working in almost all cases now. However, when trying to create tabled checkboxes inside of an admonition/callout/quote, it no longer will convert the - [ ] into the HTML tag. If the tabled checkbox is written outside of the callout and then cut-and-pasted into the admonition, it functions as expected, but it can't be written directly in the callout.
I tried using BRAT to install the plugin, but it repeatedly says "this isn't an Obsidian plugin as it does not contain a manifest.json file". I've tried using both links, [email protected]:bithead2k/obsidian-table-checkboxes.git and also the github-provided one, https://github.com/DylanGiesberts/obsidian-table-checkboxes.git. Has the same issue with both. I tried manually installing the repository in the Obsidian plugins file and it still fails to load the plugin in Obsidian, without giving a reason.
On both my Mac (14.1) and iPhone (iOS 17.0.3) using v2.04 of Markdown table checkboxes, with all checkboxes checked, unchecking a box automatically unchecks the one above or below. At any given time, I can only have one unchecked.
I used an editor and changed all the "checked" to "unchecked." On both now, checking the second one unchecks the first (first and second chronologically, not order in the file). At any given time, I can only have one checked. And so on.
Well, that's not strictly true, sometimes on the iPhone, the previous box stays checked when I check any other. I haven't figured out a pattern to get more than two boxes checked at the same time.
Using an editor outside Obsidian, I checked four (random, not sequential) boxes in a table of about 50 items. When opening Obsidian and that file from either Mac or iPhone, I still get the effect of checking a box unchecks another nearby. So now I can only have exactly four checked. And so on.
I used sort -u to verify that the ids in the file are unique, no duplicates.
I don't know what's the reason, but the plugin isn't working for me.
I installed it through the store, restarted Obsidian, tried to test it, and... nothing.
I only have 4 plugins installed and only one of them is active (besides the checkbox in the table).
There's no substitution of HTML tags in the table.
Obsidian version 1.5.11.
After much frustration with checkboxes in tables, I finally found your plugin, and thought all my prayers were answered.
I confirmed that the plugin worked when I type in a checkbox in a table manually.
I then proceeded to write a template that loops over a DataviewJS query to generate table rows for each found item, and adding checkboxes to two cells in each row.
I figured I'd need to add IDs to the checkboxes for the plugin to work, so I wrote a little function to generate random 10-character IDs.
I've now got things mostly where I want them, and to my horror I've discovered that my checkboxes don't seem to work; the state is not retained between document loads, or view type switching.
I tried hand-typing a new checkbox into some of the cells, and they work as intended.
Am I right in assuming that the plugin only works with checkboxes it's converted to HTML itself? Or is there some way to make "existing" HTML checkboxes work?
If not, could that be a thing? Let the plugin scan a given page for checkboxes with an ID assigned, and manage their states?
Edit: Another option could be a shortcut for something like "parse document checkboxes", which could look for either markdown- or html checkboxes and "log/index" them (or whatever it is that the plugin needs to do to work).
Even better, maybe some sort of tag in the frontmatter to tell the plugin to parse the page? That way, it can be added directly in the template, and any pages genereated by said template would work right off the bat, without having to call the proposed shortcut.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.