whilconn / one-toc Goto Github PK
View Code? Open in Web Editor NEW一键生成网页大纲,让阅读简单一些🎉
License: MIT License
一键生成网页大纲,让阅读简单一些🎉
License: MIT License
html本地打开后目录中只有 “4 模型探索”,期待解决。
html显示如下:
html代码如下:
<!DOCTYPE html>
<html style="scroll-behavior: auto;"><head></head>
<body class="toc-embed-mod">
<section class="main-content">
<div id="读取数据配置" class="section level1" number="1">
<h1><span class="header-section-number">1</span> 读取数据、配置</h1>
</div>
<div id="数据清洗" class="section level1" number="2">
<h1 id="toc-anchor-0" toc-level="0" class="" style="scroll-margin-top: 0px; scroll-padding-top: 0px;"><span class="header-section-number">2</span> 数据清洗</h1>
</div>
<div id="基线资料均衡性比较" class="section level1" number="3">
<h1 id="toc-anchor-1" toc-level="0" class="" style="scroll-margin-top: 0px; scroll-padding-top: 0px;"><span class="header-section-number">3</span>
基线资料(均衡性比较)</h1>
</div>
<div id="模型探索" class="section level1" number="4">
<h1 id="toc-anchor-2" toc-level="0" class="" style="scroll-margin-top: 0px; scroll-padding-top: 0px;"><span class="header-section-number">4</span> 模型探索</h1>
</div>
</section>
</body></html>
如题,例如 pubmed 上文献全文页面,要是能支持显示目录就好了。
举个例子:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6742634/
相当于将目录固定在左侧或右侧,网页原有内容(宽度)自动向右或向左减少,避免目录挡住网页的内容。这样对本地markdown可能会更友好。
在content_scripts中增加 file:///* 完成对本地html文件的支持。
"content_scripts": [
{
"matches": [
"*://*/*",
"file:///*"
]
}
b
、strong
等标签Ctrl+B
快捷键显示目录)
fixed
元素??内嵌模式时自动开启阅读模式减少 fixed
元素干扰??首先非常感谢开发者,开发好这么好用的目录开源工具。
提一个功能建议,内嵌目录能支持增加内嵌到右侧的可选项。因为有的网页页面,比如一些笔记网页,比如notion之类的,左侧是已经有目录结构的。所有希望内嵌目录能支持增加内嵌到右侧的可选项。
非常感谢!
@Whilconn 请问浮动模式可不可以在“设置”中增加上下左右四个选项啊?这样可以方便不同习惯的用户。
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.