pkm-er / obsidian-floating-toc-plugin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from curtgrimes/obsidian-floating-toc-plugin
License: MIT License
This project forked from curtgrimes/obsidian-floating-toc-plugin
License: MIT License
I often have level 1 heading like # Title
in most notes. Therefore, it would be great if one can choose to disable such level 1 heading in floating TOC.
BRAT is telling me that the update failed as there is no main.js
This is a very useful plug-in. Right now the font size is small: 6px, if I am not mistaken. I tried to change it in the styles sheet but it does not work.
It would be useful to have an option to change the font size, perhaps via the Style Settings plug-in?
Also, my H1 has the accent color, my H2 has a different color, my H3-H6 have the text-normal color.
It would be useful to have the option to change to those colors in the floating ToC.
操作系统:win10
主程序版本:v1.0.3
插件版本:2.2.5
问题:先打开一个包含大纲的文档之后,再转到另一个无任何标题的文档时,会显示上一个文档的大纲。
toc的 h1,h2 h3 标识 ,不太需要啊。怎么去掉啊。。。
Hi, it seems the latest update introduced some sort of small delay. Previously, when I hovered the floating ToC, the outline showed up instantly. With the latest update, it takes a second before they are displayed?
ctrl + click to collapse/expand the header doesnt work on mac
IDK but maybe the same functionality for backlinks and outgoing links is possible. Other plugin? On the other side of the page?
Ideas to develop. I love the concept.
目前标题太长时并且开启单行显示时,会显示省略号,如果标题的前缀相同并且很长,就无法区分标题。是否可以自定义宽度,或者自适应宽度,或者鼠标 hover 上去显示完整标题
才注意到这个 https://github.com/cumany/obsidian-floating-toc-plugin/issues/20。
Floating TOC
main js 里文档里面的,小写 floating toc 。我自己改了。
If the name of your plugin is “obsidian-floating-toc” you need to uninstall and reinstall the new version for it to work properly.
The correct name of the plugin should be "floating toc"
根据官方审核插件的建议,插件id已修改为 floating-toc
如果是第一次安装本插件,可以忽略本次建议。
如果之前安装过过本插件,请继续阅读下面内容。
受此影响,插件列表中可能会存在一个重复插件obsidian-floating-toc
直接删除重复插件,再重新安装新的即可。
希望给Pin功能加个快捷键
如果目录太长,加上动画效果可能会使点击专用按钮变得困难,除非能很快又很精准的点到按钮
浮动目录显示位置选择在右边之后,用pin固定且会超出编辑区(看不见)
请问能否添加个显示或隐藏悬浮大纲的命令呢?
Hi Developer!
Thanks for this great plugin,
I have successfully installed the PC version and wondering if it is also possible install it on mobile?
Thanks!
Hi, amazing plugin that addresses a burning need when I moved from Logseq. Can't say how grateful I am and how beautiful and customizable the interface is. Thank you so so much!
My feature request is if you could add a setting in Style Setting plugin that allows increasing the indentation between heading levels. Currently it's a bit hard to discern different heading levels, especially when the TOC gets complicated with various levels.
Thanks so much for reviving this plugin. Haven't noticed it before, it's a real hidden gem.
I noticed a minor visual issue, when floating toc is activated, it push the whole editor to the right. This creates the gap here with the vim panel (only visible when using /
or :
in vim mode).
This css-snippet here fixes the issue, however, I don't know whether this is a good solution, since it kinda only treats the symptom instead of the cause (therefore not making a PR.)
.floating-toc-div + .markdown-source-view .cm-panels {
position: absolute;
}
First off -- many thanks for making this work. Love it. It is working fine for me in practice, but I am getting a lot of errors (in the hundreds this morning) reported in the 'inspector'. I'm not worried (I don’t know what they mean, and as I say, the plugin is doing what I want it to). I thought you might want to know about these things...
This is what I get in the console:
36 plugin:obsidian-floating-toc:6565 Uncaught TypeError: Cannot read properties of undefined (reading 'contains')
at HTMLDocument._handleScroll (plugin:obsidian-floating-toc:6565:29)
at s (app.js:1:265322)
at l (app.js:1:265428)
感觉 toc 位置靠得太上了,想移到中间位置,请问可以加一个设置纵向位置的选项么,或者 直接代码修改一下。
谢谢
For the H1 headings in the main text I use:
/* Automatically convert H1 headings to capitals in text */
.cm-header-1, .markdown-preview-view h1 {
text-transform: uppercase;
}
Is it possible to get the same in the floating toc?
Hi, I'd like to change the color of the TOC, but the plugin isn't showing up in the style settings. I've turned both the plugin and style settings off and on again several times.
Any ideas? thanks!
如题所示
Thank you for the excellent plugin! I've encountered several issues.
When floating toc displays on the right, the levels of the titles don't display correctly. There's no indent on the right, so it's hard to recognize different levels of titles. Here're pictures below.
Sometimes the indicator bars display like dots, I think it's not normal. It seems to occur when floating toc is set to display on the left. I didn't see that when floating toc was on the right.
When I enabled text blur function, the text in reading mode didn't blur at all. So if the function only acts on preview view mode?
Hello, I love your plugin, is really something i wanted. Could be possible to make always seen the text? A toggle on top of the TOC maybe?
目前我是将大纲停靠在屏幕右侧. 如果能让它自动收进去不显示, 然后鼠标挪移过去才触发将之唤出, (亦即始终保持pin状态的缩入与浮出), 那就更完美了.
另外建议根据最长标题自适应调整大纲宽度(类似#37), 如图开启背景模糊, 可以看到, 即便标题很短, 大纲也占据了不小的宽度. 感谢.
Set deflaut TOC level in setup menu,and expand TOC when needed,as below.
希望设置中能够选择默认的大纲显示级别,并且在需要时能展开,如下图。
Sometime TOC is too long, it's easy to active it in accident. It seems limit the height of TOC works too. But it's still hard to find target heading.
缘由是:长文TOC过长,无论放在左侧还是右侧,不小心碰到即误触的频率都很高。限制TOC的显示高度或许也行。但TOC过长也会导致很难找到想要的标题。
这样用quickadd写宏的时候就能用上, 感谢.
我虽然知道应该把文件拷贝到plugins目录下面去,但是我实在不太明白在这里需要下载哪些文件,文件夹名字要叫什么。我的感觉大概是要先安装原来的插件,再从这里下载新的文件覆盖上去,到底对不对不知道没有说明现在只能靠猜。
I want the toc to be pinned by default and hope the developer will consider adding an option.
Thanks!
I know might be going overboard but if would be cool if it were possible to give distinct colours to different heading levels.
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.