From cd128413527a951e3d0ed6757d75f249b7d2b7a9 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 17 Feb 2023 21:11:35 +0800 Subject: [PATCH] add markdeep styling for bookmarks --- en/_posts/index.xml | 5 ++--- en/bookmark/index.html | 6 ++---- en/changelog/index.html | 2 +- en/cmds/index.html | 4 +++- en/filenames/index.html | 2 +- en/index.xml | 14 ++++++-------- en/searchurl/txt/markdeep.html | 18 +++++++++++++++--- en/searchurl/txt/remark.html | 17 ----------------- en/topposts/index.xml | 9 ++++----- 9 files changed, 34 insertions(+), 43 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 405f4db..6e5f688 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -23,9 +23,8 @@ /en/bookmark/ Wait for url from other devices berify: reverse image search for video -Tips File handling and styling with home.css "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. -Markdeep for markdown files under the folder "bookmark/md/" Install markdeep styling -Install link for markdown files +Tips File handling and styling with home.css "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. +Install markdeep styling for markdown files under the folder "bookmark/md/" Bookmarks with secrets (POST instead of GET) The search engine (". diff --git a/en/bookmark/index.html b/en/bookmark/index.html index 0e8579b..7e75249 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -51,10 +51,8 @@ berify: reverse image search for video

Tips

File handling and styling with home.css

-

"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.

-
Markdeep for markdown files under the folder "bookmark/md/"
-

Install markdeep styling
-Install link for markdown files

+

"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.

+

Install markdeep styling for markdown files under the folder "bookmark/md/"

Bookmarks with secrets (POST instead of GET)

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):
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login

diff --git a/en/changelog/index.html b/en/changelog/index.html index eb9f9ab..a8450eb 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,7 +51,7 @@

pagure

Main features

Change logs

-

974: Bookmarks to support styling for markdown etc.
+

975: Bookmarks to support styling for markdown etc.
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
968: multiple links support for single MENU/(New)Button/GESTURE definition.
964: site source html preprocessing before rendering with user site extra html.
diff --git a/en/cmds/index.html b/en/cmds/index.html index 033f439..cd1f334 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -49,7 +49,8 @@

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 "default.cmds" 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>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc

Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache

Clear logcat::logcat -c

@@ -91,6 +92,7 @@ Clipboard2QR needs libqrencode.

mdme: Show local markdown file

texme: Show local tex+markdown file

markdeep: Show local markdown+tex+diagrams file

+

<a href="i:0gdefault.cmds::markdeep slide:text/html:cat %25f;echo %22%22%0A">markdeep slide: markdown+tex+diagrams

remark slide: slide show for local markdown file

Code editor, open url in clipboard etc.

".cmds" file format

diff --git a/en/filenames/index.html b/en/filenames/index.html index f069290..42593fa 100644 --- a/en/filenames/index.html +++ b/en/filenames/index.html @@ -84,7 +84,7 @@ "query.autoc": home screen search autocomplete candidate strings.
"home5.html": 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).
"home5.search":search engines
-"home.css": html file for home screen styling, so the css code needs to be inside "<style>" elements.
+"home.css": html file for folder/home screen/bookmark styling, so the css code needs to be inside "<style>" elements. Each "home.css" file is responsible for the current folder and its subfolders.
"bookmark.html": bookmarks
"quickstart.html": quick start
"colors.txt": background colors
diff --git a/en/index.xml b/en/index.xml index 4ab9597..895cc0e 100644 --- a/en/index.xml +++ b/en/index.xml @@ -23,9 +23,8 @@ /en/bookmark/ Wait for url from other devices 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. -Markdeep for markdown files under the folder &quot;bookmark/md/&quot; Install markdeep styling -Install link for markdown files +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. +Install markdeep styling for markdown files under the folder &quot;bookmark/md/&quot; Bookmarks with secrets (POST instead of GET) The search engine (&quot;. @@ -108,7 +107,7 @@ github sourceforge powerfolder 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. 968: multiple links support for single MENU/(New)Button/GESTURE definition. 964: site source html preprocessing before rendering with user site extra html. @@ -283,12 +282,11 @@ Yandex image:https://yandex.com/images/search?text= /en/cmds/ 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: -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 Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache -Clear logcat::logcat -c -logcat.log::logcat -d &gt; logcat.log -copy cookie:/clip:printf '%c' +Clear logcat::logcat -c diff --git a/en/searchurl/txt/markdeep.html b/en/searchurl/txt/markdeep.html index c0549ce..f0db180 100644 --- a/en/searchurl/txt/markdeep.html +++ b/en/searchurl/txt/markdeep.html @@ -1,3 +1,15 @@ - - - + diff --git a/en/searchurl/txt/remark.html b/en/searchurl/txt/remark.html index adfdf33..1ef1eda 100644 --- a/en/searchurl/txt/remark.html +++ b/en/searchurl/txt/remark.html @@ -1,8 +1,3 @@ - - - - -