Comments (6)
I found that there were no folders named SmartMarkdown
in the packages folder, so I manually git cloned to the package folder. Per chance I have done it wrong? I typed
git clone https://github.com/demon386/SmartMarkdown.git Path_to_package/SmartMarkdown
After this, global folding / unfolding & increase/decrease heading depth work well, but others do not.
Then I downloaded ST2, tested SM, and it worked!
Basically everything is fine for ST2, just as I expected by looking at the readme file.
So I guess something is wrong with the support for ST3?
In summary, in ST3, the only thing that works is global folding / unfolding & increase/decrease heading depth.
Other features such as table support, smart folding, or list generation (yeah, it fails now for some reason. :( ) just fail to function.
Hope this issue can be solved.
from smartmarkdown.
It works for me in 3114 and 3118.
You probably have some keybinding for TAB which overrides SmartMarkdown ones.
Try FindKeyConflicts to see it.
Try to copy SM keybindings for TAB into your user keybindings file.
no folders named SmartMarkdown in the packages folder
Yes, you have to go up, then to Installed Packages
there should be SmartMarkdown.sublime-package
(it is zip archive) if you did installation with Package Control.
Then you can override some files (e.g. keybindings) of that package by placing them into Packages/SmartMarkdown
folder; it is a feature of Sublime Text to make customisations more flexible;
see docs for details.
from smartmarkdown.
Thanks for the information!
Indeed I got some key conflicts. But before I fix that, the problem is fixed now!
It seems that I just have to unarchive the sublime-package file to make everything OK.
Thanks for the help. 👍 :D
Also I learned some useful stuff about sublime plugins when trying to fix the problem; quite interesting. :)
Thanks again!
from smartmarkdown.
I have same as @JSDurand on Build 3126 - smart folding, not working
ubuntu 16.04, Python 2.7.12
KeyConflicts - checked
Replacing with git clone - checked
no effect; couldn't hack the solution
i have also tried with ..../User/Default (Linux).sublime-keymap
{ "keys": ["super+shift+m"], "command": "smart_folding", "context":
[
{ "key": "selector", "operator": "equal", "operand": "markup.heading.markdown" }
]
}
it just gives "M"
so maybe something with fireing smart_folding command?
from smartmarkdown.
so maybe something with fireing smart_folding command?
Or something with keyboard or the way how ST interprets input.
Command works just fine for me, you can check like this:
-
create markdown
# title content
-
put cursor on first line
-
open console
View
→Show console
-
paste
view.run_command('smart_folding')
into console, press Enter -
see second line become hidden
Not all keybindings can be used (super+shift+m does not work at all on Windows for example), there might be some bugs/regressions in recent versions of ST, some incompatibilities with different keyboard layouts, and so on and so forth.
Try different keys, try ST2 (2221).
from smartmarkdown.
so,
inspired to "just" run_command('smart_folding') I've found there is some issue with 'context' filter.
NOT WORKING
{ "keys": ["shift+super+m"], "command": "smart_folding", "context":
[
{ "key": "selector", "operator": "equal", "operand": "markup.heading.markdown" }
]
}
WORKS FINE
{ "keys": ["shift+super+m"], "command": "smart_folding"}
with some "keybinding collision designing" I can use your plugin, now;
thnx
from smartmarkdown.
Related Issues (20)
- Highlighting of embedded latex?
- Does not find pandoc on Windows
- Is it possible to do code folding using mouse? HOT 2
- Smart Fold Lists
- Pasting over lists
- No such file or directory: 'pandoc'
- 6 seconds to global-fold with 3000 headings HOT 1
- Emphasis wrapping of highlighted text
- Blank line before lower-numbered (higher-level) heading HOT 3
- Support for Markdown in Fountain files
- Unexpected behaviour in Smart Tables
- Moving columns in tables
- I'm such a fan of this plugin.. made a small screencast
- Cannot indent code that contains a pipe "|"
- "Outline View" HOT 1
- how to render html/pdf with pandoc?
- [Feature request] Disable smart_list option
- Add option to disable the error highlighting
- Slight adjustment to make smart_folding work — perhaps document?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartmarkdown.