mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add markdeep styling for bookmarks
This commit is contained in:
parent
1ed0b0c7ca
commit
cd12841352
9 changed files with 34 additions and 43 deletions
|
@ -23,9 +23,8 @@
|
||||||
<guid>/en/bookmark/</guid>
|
<guid>/en/bookmark/</guid>
|
||||||
<description>Wait for url from other devices
|
<description>Wait for url from other devices
|
||||||
berify: reverse image search for video
|
berify: reverse image search for video
|
||||||
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks, search engines in the same folder or subfolders (it styles the folders too). The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
||||||
Markdeep for markdown files under the folder &quot;bookmark/md/&quot; Install markdeep styling
|
Install markdeep styling for markdown files under the folder &quot;bookmark/md/&quot;
|
||||||
Install link for markdown files
|
|
||||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
|
@ -51,10 +51,8 @@
|
||||||
<a href="https://berify.com">berify: reverse image search for video</a></p>
|
<a href="https://berify.com">berify: reverse image search for video</a></p>
|
||||||
<h3 id="tips">Tips</h3>
|
<h3 id="tips">Tips</h3>
|
||||||
<h4 id="file-handling-and-styling-with-homecss">File handling and styling with home.css</h4>
|
<h4 id="file-handling-and-styling-with-homecss">File handling and styling with home.css</h4>
|
||||||
<p>"home.css" styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.</p>
|
<p>"home.css" styles bookmarks, search engines in the same folder or subfolders (it styles the folders too). The file is in html format instead of CSS, so it needs "<style>" tag for CSS.</p>
|
||||||
<h5 id="markdeep-for-markdown-files-under-the-folder-bookmarkmd">Markdeep for markdown files under the folder "bookmark/md/"</h5>
|
<p><a href="i:0hbookmark/md/home.css:../searchurl/txt/markdeep.html">Install markdeep styling for markdown files under the folder "bookmark/md/"</a></p>
|
||||||
<p><a href="i:0hbookmark/md/home.css:../searchurl/txt/markdeep.html">Install markdeep styling</a><br>
|
|
||||||
<a href="i:0gdefault.link::Markdowns:file:///data/data/info.torapp.uweb/files/bookmark/md/ {let as=document.getElementsByTagName('a');for(let i=as.length-1;i>=0;i--){let h=as[i].href;if(h.startsWith('file:')&&h.endsWith('.md'))as[i].href=h%2B'.search';}}%0A">Install link for markdown files</a></p>
|
|
||||||
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
|
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
|
||||||
<p>The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):<br>
|
<p>The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):<br>
|
||||||
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login</p>
|
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login</p>
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
||||||
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
|
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
|
||||||
<h4 id="change-logs">Change logs</h4>
|
<h4 id="change-logs">Change logs</h4>
|
||||||
<p>974: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
|
<p>975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
|
||||||
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
|
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
|
||||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.<br>
|
968: multiple links support for single MENU/(New)Button/GESTURE definition.<br>
|
||||||
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
|
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
|
||||||
|
|
|
@ -49,7 +49,8 @@
|
||||||
</ul>
|
</ul>
|
||||||
<p>Click the following links to install commands with <a href="../index.html">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
|
<p>Click the following links to install commands with <a href="../index.html">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
|
||||||
<p>Configuration file "default.cmds" examples:</p>
|
<p>Configuration file "default.cmds" examples:</p>
|
||||||
<p><a href="i:03Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete">Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete</a></p>
|
<p><a href="i:03Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete">Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete</a></p>
|
||||||
|
<p><a href="i:03Clear database::rm -rf /data/data/info.torapp.uweb/databases/*">Clear database::rm -rf /data/data/info.torapp.uweb/databases/*</a></p>
|
||||||
<p><a href="i:03Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc">Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc</a></p>
|
<p><a href="i:03Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc">Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc</a></p>
|
||||||
<p><a href="i:03Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache">Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
|
<p><a href="i:03Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache">Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
|
||||||
<p><a href="i:03Clear logcat::logcat -c">Clear logcat::logcat -c</a></p>
|
<p><a href="i:03Clear logcat::logcat -c">Clear logcat::logcat -c</a></p>
|
||||||
|
@ -91,6 +92,7 @@ Clipboard2QR needs libqrencode.</p>
|
||||||
<p><a href="i:0gdefault.cmds::mdme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/mdme></script><textarea>%22;cat %25f%0A">mdme: Show local markdown file</a></p>
|
<p><a href="i:0gdefault.cmds::mdme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/mdme></script><textarea>%22;cat %25f%0A">mdme: Show local markdown file</a></p>
|
||||||
<p><a href="i:0gdefault.cmds::texme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/texme></script><textarea>%22;cat %25f%0A">texme: Show local tex+markdown file</a></p>
|
<p><a href="i:0gdefault.cmds::texme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/texme></script><textarea>%22;cat %25f%0A">texme: Show local tex+markdown file</a></p>
|
||||||
<p><a href="i:0gdefault.cmds::markdeep:text/html:cat %25f;echo %22<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>%22%0A">markdeep: Show local markdown+tex+diagrams file</a></p>
|
<p><a href="i:0gdefault.cmds::markdeep:text/html:cat %25f;echo %22<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>%22%0A">markdeep: Show local markdown+tex+diagrams file</a></p>
|
||||||
|
<p><a href="i:0gdefault.cmds::markdeep slide:text/html:cat %25f;echo %22<link rel='stylesheet' href="https://casual-effects.com/markdeep/latest/slides.css?"><script>markdeepOptions={tocStyle:'none'}</script><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script>%22%0A">markdeep slide: markdown+tex+diagrams</a></p>
|
||||||
<p><a href="i:0gdefault.cmds::remark slide:text/html:echo %22<script src=https://remarkjs.com/downloads/remark-latest.min.js></script><script>window.onload=function(){var slideshow=remark.create({navigation:{click:true,},});}</script><textarea id=%27source%27>class:middle%22;cat %25f%0A">remark slide: slide show for local markdown file</a></p>
|
<p><a href="i:0gdefault.cmds::remark slide:text/html:echo %22<script src=https://remarkjs.com/downloads/remark-latest.min.js></script><script>window.onload=function(){var slideshow=remark.create({navigation:{click:true,},});}</script><textarea id=%27source%27>class:middle%22;cat %25f%0A">remark slide: slide show for local markdown file</a></p>
|
||||||
<p><a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/txt/cmds.cfg">Code editor, open url in clipboard etc.</a></p>
|
<p><a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/txt/cmds.cfg">Code editor, open url in clipboard etc.</a></p>
|
||||||
<h4 id="cmds-file-format">".cmds" file format</h4>
|
<h4 id="cmds-file-format">".cmds" file format</h4>
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
"query.autoc": home screen search autocomplete candidate strings.<br>
|
"query.autoc": home screen search autocomplete candidate strings.<br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/home5.html">home5.html</a>": user defined home screen. home6.mht(or .html or .search), home7.mht(or .html or .search) ... multiple home screen (pressing right arrow button to visit); home4.mht(or .html or .search), home3.mht(or .html or .search) ... (long pressing left arrow button to access).<br>
|
"<a href="file:///data/data/info.torapp.uweb/files/home5.html">home5.html</a>": user defined home screen. home6.mht(or .html or .search), home7.mht(or .html or .search) ... multiple home screen (pressing right arrow button to visit); home4.mht(or .html or .search), home3.mht(or .html or .search) ... (long pressing left arrow button to access).<br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/home5.search">home5.search</a>":<a href="../search/index.html">search engines</a><br>
|
"<a href="file:///data/data/info.torapp.uweb/files/home5.search">home5.search</a>":<a href="../search/index.html">search engines</a><br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>": <span style="color:red">html</span> file for <a href="../searchurl/homescreen.html">home screen styling</a>, so the css code needs to be inside "<style>" elements.<br>
|
"<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>": <span style="color:red">html</span> file for <a href="../bookmark/index.html">folder/home screen/bookmark styling</a>, so the css code needs to be inside "<style>" elements. Each "home.css" file is responsible for the current folder and its subfolders.<br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>": bookmarks<br>
|
"<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>": bookmarks<br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
"<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
||||||
"<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>": background colors<br>
|
"<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>": background colors<br>
|
||||||
|
|
14
en/index.xml
14
en/index.xml
|
@ -23,9 +23,8 @@
|
||||||
<guid>/en/bookmark/</guid>
|
<guid>/en/bookmark/</guid>
|
||||||
<description>Wait for url from other devices
|
<description>Wait for url from other devices
|
||||||
berify: reverse image search for video
|
berify: reverse image search for video
|
||||||
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks, search engines in the same folder or subfolders (it styles the folders too). The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
||||||
Markdeep for markdown files under the folder &quot;bookmark/md/&quot; Install markdeep styling
|
Install markdeep styling for markdown files under the folder &quot;bookmark/md/&quot;
|
||||||
Install link for markdown files
|
|
||||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -108,7 +107,7 @@ github
|
||||||
sourceforge
|
sourceforge
|
||||||
powerfolder
|
powerfolder
|
||||||
pagure
|
pagure
|
||||||
Main features Change logs 974: Bookmarks to support styling for markdown etc.
|
Main features Change logs 975: Bookmarks to support styling for markdown etc.
|
||||||
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
||||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
||||||
964: site source html preprocessing before rendering with user site extra html.
|
964: site source html preprocessing before rendering with user site extra html.
|
||||||
|
@ -283,12 +282,11 @@ Yandex image:https://yandex.com/images/search?text=</description>
|
||||||
<guid>/en/cmds/</guid>
|
<guid>/en/cmds/</guid>
|
||||||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||||
Configuration file &quot;default.cmds&quot; examples:
|
Configuration file &quot;default.cmds&quot; examples:
|
||||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete
|
||||||
|
Clear database::rm -rf /data/data/info.torapp.uweb/databases/*
|
||||||
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
||||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
Clear logcat::logcat -c
|
Clear logcat::logcat -c</description>
|
||||||
logcat.log::logcat -d &gt; logcat.log
|
|
||||||
copy cookie:/clip:printf '%c'</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
<script>window.markdeepOptions = {onload};</script>
|
<script>
|
||||||
<script src=https://casual-effects.com/markdeep/latest/markdeep.min.js? charset=utf-8></script>
|
if(location.href.endsWith('/')){
|
||||||
|
window.onload=function (){
|
||||||
|
let as=document.getElementsByTagName('a');for(let i=as.length-1;i>=0;i--){let h=as[i].href;if(h.startsWith('file:')&&h.endsWith('.md'))as[i].href=h+'.search';}
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
function loadJS(u){
|
||||||
|
let d=document;
|
||||||
|
let e=d.createElement('script');e.src=u;
|
||||||
|
d.head.appendChild(e);
|
||||||
|
}
|
||||||
|
window.markdeepOptions = {onload};
|
||||||
|
loadJS("https://casual-effects.com/markdeep/latest/markdeep.min.js?");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
|
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -18,15 +13,3 @@
|
||||||
<textarea id="source">
|
<textarea id="source">
|
||||||
class: middle
|
class: middle
|
||||||
|
|
||||||
# Title
|
|
||||||
- Introduction
|
|
||||||
- part 1
|
|
||||||
- level 3
|
|
||||||
- level 3 second line
|
|
||||||
- part 2
|
|
||||||
- Deep-dive
|
|
||||||
- ...
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# Thanks
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ github
|
||||||
sourceforge
|
sourceforge
|
||||||
powerfolder
|
powerfolder
|
||||||
pagure
|
pagure
|
||||||
Main features Change logs 974: Bookmarks to support styling for markdown etc.
|
Main features Change logs 975: Bookmarks to support styling for markdown etc.
|
||||||
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
||||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
||||||
964: site source html preprocessing before rendering with user site extra html.
|
964: site source html preprocessing before rendering with user site extra html.
|
||||||
|
@ -116,12 +116,11 @@ Yandex image:https://yandex.com/images/search?text=</description>
|
||||||
<guid>/en/cmds/</guid>
|
<guid>/en/cmds/</guid>
|
||||||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||||
Configuration file &quot;default.cmds&quot; examples:
|
Configuration file &quot;default.cmds&quot; examples:
|
||||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete
|
||||||
|
Clear database::rm -rf /data/data/info.torapp.uweb/databases/*
|
||||||
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
||||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
Clear logcat::logcat -c
|
Clear logcat::logcat -c</description>
|
||||||
logcat.log::logcat -d &gt; logcat.log
|
|
||||||
copy cookie:/clip:printf '%c'</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in a new issue