Plaintext for Obsidian
This is an Obisidan plugin that allows you to open any file as plaintext. It has been developed for Obsidian v0.13.14, and tested on Windows.
Honestly, as long as you can run any Obsidian version you can probably run this plugin as well. The only requirements are that we can register extensions (this existed in v0.12.12 for instance), and that the viewRegistry exists, which I'm assuming has been there since the beginning of Obsidian. But, this is all speculation!
NOTE: There are other plugins that allow you to edit specific files. MAKE SURE TO NOT TYPE THEIR EXTENSIONS INTO THE SETTINGS FIELD FOR THIS PLUGIN. I cannot (yet) check for specific plugins that have their own view for a particular extension, and as such this plugin WILL overwrite the view, and break the other extension. If you do this by accident, open the plugin folder (.obsidian/plugins/obsidian-plaintext/), and remove from the data.json file the extensions that you typed by mistake.
Installing
Interested in editing files in Obsidian? Great. Grab the latest release from the releases page, and copy main.js and manifest.json to .obsidian/plugins/obsidian-plaintext/. That's it!
When approved, you can also install this through Obsidian by searching for plaintext.
Roadmap
For now, nothing is planned. If you're interested in features, please make an issue on Github!
Contributing
Also excited about making Obsidian a full-fledged IDE? Cool, me too! Contact me and let's talk! Pull requests (especially one that updates the code to use CodeMirror 6) are very welcome.
Pricing
This is free. Keep your money, I don't want it.
Changelog
Version 0.1.0 (current):
- Complete rewrite of registering and deregistering.
- Now actually removes views when deregistering a particular extension.
- Correctly filters out default obsidian extensions: No more accidentally overwriting the default markdown editor.
Version 0.0.2:
- First actual release.
- Code is functional! You can open and edit files as plaintext.
Version 0.0.1:
- Not a release.
- Initial testing code.
- This included the functionality for parsing user-inputted extensions.