Skip to content

Commit

Permalink
deploy: 022274a
Browse files Browse the repository at this point in the history
  • Loading branch information
Gk0Wk committed Oct 14, 2023
1 parent 40896f9 commit 6fdc775
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 275 deletions.
22 changes: 9 additions & 13 deletions index.html

Large diffs are not rendered by default.

254 changes: 1 addition & 253 deletions library/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions library/recipes/library/tiddlers.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"plugin-type": "plugin",
"title": "$:/plugins/Gk0Wk/drawio",
"type": "application/json",
"version": "0.0.6",
"Modern.TiddlyDev#SHA256-Hashed": "2a0dec548d6134ce57d116d3e056bf957cfe0eef5c198dd1d19da34bb85e7245",
"version": "0.0.7",
"Modern.TiddlyDev#SHA256-Hashed": "1a02cd38859869b05e90e2eec3265614ee0f1a4787dcde3885b95f84ef303fc8",
"readme": "<img src=\"https://www.drawio.com/assets/img/blog/feature-flag-gitflow-tags.png\" width=\"100%\" height=\"auto\" >\n\n<$list filter=\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\" variable=\"lang\">\n<$list filter=\"[<lang>search[zh]]\">\n\ndraw.io 是一个强大的在线图表编辑器,可以用来绘制流程图、组织结构图、UML图、网络图、平面图、电路图、数据库图、房屋平面图、地图等等。\n\n现在我将其集成到了 <$text text=\"TiddlyWiki\" /> 中,你可以在这里使用它。点击 {{$:/plugins/Gk0Wk/drawio/icon}} 按钮,就可以创建一个新的图表条目,该条目在非编辑模式下会显示其绘制的内容,而在编辑模式下则会进入 draw.io 的编辑界面。\n\n注意:编辑模式需要联网才能使用,因为 draw.io 是在线编辑器,初次加载需要一定的时间,所以请耐心等待。但是预览图片不需要联网,所以你可以在离线状态下查看图表,此时它和你其他的图片没有区别。\n\n你可以在插件的设置中修改编辑器在日间或夜间模式下的主题。\n\n在编辑器中,你可以导入和导出各种类型的图表文件。图标实际上将以 SVG+嵌入式 XML 的形式保存在 <$text text=\"TiddlyWiki\" /> 中,这样可以保证图表的可编辑性。你可以在编辑器中导出为各种格式的文件,也可以在 <$text text=\"TiddlyWiki\" /> 中导出为 SVG、PNG 等文件。\n\n> 如果你觉得编辑器太小,在编辑器的右下角有一个 {{$:/core/images/full-screen-button}} 全屏按钮,点击即可全屏编辑器,再次按 <kbd>Esc</kbd> 即可退出全屏!\n\n你可以在这里查看 draw.io 的官方文档:https://www.drawio.com/\n\n快来试试吧!\n\n</$list>\n\n<$list filter=\"[<lang>!search[zh]]\">\n\ndraw.io is a powerful online diagram editor that can be used to draw flowcharts, organizational charts, UML diagrams, network diagrams, floor plans, circuit diagrams, database diagrams, house floor plans, maps, etc.\n\nNow I have integrated it into <$text text=\"TiddlyWiki\" />, you can use it here. Click the {{$:/plugins/Gk0Wk/drawio/icon}} button to create a new diagram tiddler, which will display its drawing content in non-editing mode, and will enter the draw.io editing interface in editing mode.\n\nNote: The editing mode requires networking, because draw.io is an online editor, which takes some time to load for the first time, so please be patient. But the preview image does not require networking, so you can view the chart in offline mode, and it is no different from your other images.\n\nYou can modify the theme of the editor in the settings of the plugin in day or night mode.\n\nIn the editor, you can import and export various types of chart files. The icon is actually saved in the form of SVG+embedded XML in <$text text=\"TiddlyWiki\" />, which ensures the editability of the chart. You can export to various formats of files in the editor, or export to SVG, PNG and other files in <$text text=\"TiddlyWiki\" />.\n\n> If you think the editor is too small, there is a {{$:/core/images/full-screen-button}} full screen button in the lower right corner of the editor, click to enter full screen editor, press <kbd>Esc</kbd> again to exit full screen!\n\nYou can view the official documentation of draw.io here: https://www.drawio.com/\n\nCome and try it!\n\n</$list>\n</$list>\n",
"requires-reload": "yes"
},
Expand Down Expand Up @@ -80,8 +80,8 @@
"plugin-type": "plugin",
"title": "$:/plugins/Gk0Wk/mindmap-elixir",
"type": "application/json",
"version": "0.0.1",
"Modern.TiddlyDev#SHA256-Hashed": "73f0565c627a4d428e94b4e1dc79525a2d5a3826e971fcbc5b02988968279a02",
"version": "0.0.2",
"Modern.TiddlyDev#SHA256-Hashed": "2c710f8e1c94046a6fc335a29847b83957e488b708302367c750213688b8c572",
"readme": "<$list filter=\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\" variable=\"lang\">\n<$list filter=\"[<lang>search[zh]]\">\n\n在 <$text text=\"TiddlyWiki\" /> 中使用思维导图。\n\n<center>\n<img src=\"https://raw.githubusercontent.com/ssshooter/mind-elixir-core/master/images/screenshot2.png\" height=\"300px\" />\n</center>\n\n首先明确一件事:你需要先指定导图数据存储的位置,请先确定条目名称和字段。这里分别假设为`ABC`和`map`。\n\n在你希望的位置调用导图微件,即可显示导图:\n\n```html\n<$elixir tiddler=\"ABC\" field=\"map\" />\n```\n\n或者\n\n```html\n<$mindmap tiddler=\"ABC\" field=\"map\" />\n```\n\n然后即可出现上图所示的导图。导图可以:\n\n* 双击编辑节点;\n* 右键节点显示菜单;\n* 多语言,简中、繁重、英语、日语、葡萄牙语、俄语;\n* 选中节点,<kbd>Enter</kbd>键创建兄弟节点;\n* 选中节点,<kbd>Tab</kbd>键创建子节点;\n* 定制导图样式,包括布局、颜色等,具体在左上角和右下角齿轮图标;\n* 可以导出到 <$text text=\"XMind\" />、HTML 和 OPML,支持 OPML 导入(OPML是各种大纲和导图软件兼容的导入导出格式),详见右下角图标;\n* 可以使用主题模板快速定制导图样式,可以导出当前导图的样式供后续使用或分享,详见右下角图标。\n\n这里请特别注意:请不要吝啬地分享你的主题,因为我认为导图应当有若干预置的主题供大家使用,但是我因为精力有限只创作了两个主题,希望各位能够在[[Issue区|https://github.com/Gk0Wk/TiddlySeq/issues]]分享一下主题,谢谢!\n\n---\n\n另外还可以添加各种可选参数来定制行为:\n\n|!参数 |!解释 |\n|tiddler |导图存储在哪个条目中,不写则默认为当前条目 |\n|field |导图存储在哪个字段中,不写则默认为text |\n|component |微件的DOM标签类型,默认为div |\n|className |微件的类名,用于自定义样式 |\n|height |微件高度,默认为 300px |\n|widget |微件宽度,默认为 100% |\n\n</$list>\n\n<$list filter=\"[<lang>!search[zh]]\">\n\nUsing Mind Map in <$text text=\"TiddlyWiki\" />.\n\n<center>\n<img src=\"https://raw.githubusercontent.com/ssshooter/mind-elixir-core/master/images/screenshot2.png\" height=\"300px\" />\n</center>\n\nFirst make one thing clear: you need to specify where the mindmap data is stored first, please identify the entry name and field first. Assume here `ABC` and `map` respectively.\n\nCall the mindmap widget at the location you want to display the mindmap:\n\n```html\n<$elixir tiddler=\"ABC\" field=\"map\" />\n```\n\nOr\n\n```html\n<$mindmap tiddler=\"ABC\" field=\"map\" />\n```\n\nThen the mindmap shown above will appear. The mindmap can be.\n\n* Double-click to the edit node;\n* Right-click to show the content menu;\n* Multilingual, Simplified Chinese, Traditional Chinese, English, Japanese, Portuguese, Russian;\n* Select the node and <kbd>Enter</kbd> key to create a sibling node;\n* Select the node and <kbd>Tab</kbd> key to create a child node;\n* Customized mindmap styles, including layout, colors, etc., specifically in the top left and bottom right gear icons;\n* Export to <$text text=\"XMind\" />, HTML and OPML, support OPML import (OPML is an import and export format compatible with various outline and mindmap software), see the icon on the bottom right for details;\n* You can use the theme template to quickly customize the style of the mindmap, you can export the style of the current mindmap for subsequent use or sharing, see the icon in the lower right corner for details.\n\nPlease pay special attention here: please don't be stingy to share your themes, because I think the mindmap should have several pre-set themes for everyone to use, but I only created two themes because of limited energy, I hope you can share the themes in the [[Issue area|https://github.com/Gk0Wk/TiddlySeq/issues]], thank you!\n\n---\n\nVarious optional parameters can also be added to customize the behavior:\n\n|!Attributes |!Explanation |\n|tiddler |The entry in which the mindmap is stored, or the current entry by default if not written |\n|field |Which field the mindmap is stored in, default to text if not written |\n|component |DOM tag type for microware, default is div |\n|className |Class name of the widget for custom styles |\n|height |Height of the widget, default is 300px |\n|widget |Width of the widget, default is 100% |\n\n</$list>\n</$list>\n",
"requires-reload": "yes"
},
Expand Down Expand Up @@ -109,8 +109,8 @@
"source": "https://github.com/Gk0Wk/TiddlySeq/tree/master/plugins/Gk0Wk/notionpage-covericon",
"title": "$:/plugins/Gk0Wk/notionpage-covericon",
"type": "application/json",
"version": "0.0.12",
"Modern.TiddlyDev#SHA256-Hashed": "878f35102aec77f8660616583cf7241abd4300655d5ed7aebcc4d36b8b290426",
"version": "0.0.13",
"Modern.TiddlyDev#SHA256-Hashed": "482f297b6441104f7540eac81511c9e608e1fe1ea7631ec0eec4f09f8341bb1e",
"readme": "\\define lingo-base() $:/language/ThemeTweaks/\n\n<$list filter=\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\" variable=\"lang\">\n<$list filter=\"[<lang>search[zh]]\">\n\n安装插件后,在每个tiddler的标题上方会有两个按钮(鼠标悬浮在上面就会显示),分别用于添加图标(默认是emoji📒)和添加页面封面(默认是`https://source.unsplash.com/random`)。点击图标就可以修改图标内容,点击修改封面就可以修改封面地址(可以是url或者tiddler标题)。\n\n使用如下字段来存储页面的图标和封面信息:\n\n* `icon` 存储图标,可以是emoji、WikiText或者tiddler的标题。\n* `page-cover` 存储封面的url或者tiddler的标题。\n\n!! 设置\n\n<div class=\"tc-control-panel\">\n\n|[[默认图标|$:/plugins/Gk0Wk/notionpage-covericon/default-icon]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/default-icon\" default=\"📒\" placeholder=\"Emoji, WikiText 或者 Tiddler\"/> |\n|[[默认封面|$:/plugins/Gk0Wk/notionpage-covericon/default-pagecover-url]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/default-pagecover-url\" default=\"https://source.unsplash.com/random\" placeholder=\"URL 或者 Tiddler\"/> |\n|[[图标大小|$:/plugins/Gk0Wk/notionpage-covericon/style/icon-size]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/icon-size\" placeholder=\"如:65px\" tag=\"input\"/> |\n|[[封面高度(紧凑模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/narrow\" placeholder=\"如:300px\" tag=\"input\"/> |\n|[[封面高度(宽屏模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/wide\" placeholder=\"如:300px\" tag=\"input\"/> |\n|[[封面顶端位置(紧凑模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/narrow\" placeholder=\"如:-14px\" tag=\"input\"/> |\n|[[封面顶端位置(宽屏模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/wide\" placeholder=\"如:-28px\" tag=\"input\"/> |\n|[[封面左侧位置(紧凑模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/narrow\" placeholder=\"如:-14px\" tag=\"input\"/> |\n|[[封面左侧位置(宽屏模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/wide\" placeholder=\"如:-42px\" tag=\"input\"/> |\n|[[封面右侧位置(紧凑模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/narrow\" placeholder=\"如:-14px\" tag=\"input\"/> |\n|[[封面右侧位置(宽屏模式)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/wide\" placeholder=\"如:-42px\" tag=\"input\"/> |\n|[[默认封面背景模糊程度|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-bg-blur]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-bg-blur\" default=\"8px\" placeholder=\"0~100px\" tag=\"input\"/> |\n|[[默认封面大小(CSS background-size)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-size]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-size\" default=\"cover\" placeholder=\"cover, contain, auto, 100% 100%, 100% auto, auto 100%\"/> |\n|[[默认封面位置(CSS background-position)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-position]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-position\" default=\"center\" placeholder=\"center, top, bottom, left, right, top left, top right, bottom left, bottom right\"/> |\n|[[默认封面重复(CSS background-repeat)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-repeat]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-repeat\" default=\"no-repeat\" placeholder=\"no-repeat, repeat, repeat-x, repeat-y\"/> |\n\n</div>\n\n* 注:【宽屏模式】和【紧凑模式】是由 <$link to=\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\"><<lingo Metrics/SidebarBreakpoint>></$link> 决定的,当前<<lingo Metrics/SidebarBreakpoint>>为{{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}。\n\n> 本插件使用灵活而强大的 <$text text=\"TiddlyWiki\" /> 开发框架 [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\n\n</$list>\n\n<$list filter=\"[<lang>!search[zh]]\">\n\nAfter installing the plugin, there will be two buttons above the title of each tiddler (which will be displayed when the mouse hovers over it) for adding icons (default is emoji📒) and adding page covers (default is `https://source.unsplash.com/random`). Click on the icon to modify the icon content, and click on the modify cover to modify the cover address (can be url or tiddler title).\n\nUse the following fields to store the page's icon and cover information.\n\n* `icon` stores the icon, which can be an emoji, WikiText or tiddler title.\n* `page-cover` stores the url of the cover or the title of the tiddler.\n\n!! Settings\n\n<div class=\"tc-control-panel\">\n\n|[[Default icon|$:/plugins/Gk0Wk/notionpage-covericon/default-icon]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/default-icon\" default=\"📒\" placeholder=\"Emoji, WikiText or Tiddler\"/> |\n|[[Default page cover|$:/plugins/Gk0Wk/notionpage-covericon/default-pagecover-url]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/default-pagecover-url\" default=\"https://source.unsplash.com/random\" placeholder=\"URL or Tiddler\"/> |\n|[[Icon size|$:/plugins/Gk0Wk/notionpage-covericon/style/icon-size]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/icon-size\" placeholder=\"e.g. 65px\" tag=\"input\"/> |\n|[[Height of page cover(Compact mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/narrow\" placeholder=\"e.g. 300px\" tag=\"input\"/> |\n|[[Height of page cover(Widescreen mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-height/wide\" placeholder=\"e.g. 300px\" tag=\"input\"/> |\n|[[Top position of page cover(Compact mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/narrow\" placeholder=\"e.g. -14px\" tag=\"input\"/> |\n|[[Top position of page cover(Widescreen mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/top-offset/wide\" placeholder=\"e.g. -28px\" tag=\"input\"/> |\n|[[Left position of page cover(Compact mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/narrow\" placeholder=\"e.g. -14px\" tag=\"input\"/> |\n|[[Left position of page cover(Widescreen mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-left/wide\" placeholder=\"e.g. -42px\" tag=\"input\"/> |\n|[[Right position of page cover(Compact mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/narrow]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/narrow\" placeholder=\"e.g. -14px\" tag=\"input\"/> |\n|[[Right position of page cover(Widescreen mode)|$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/wide]] |<$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/style/cover-right/wide\" placeholder=\"e.g. -42px\" tag=\"input\"/> |\n|[[Default cover background blur|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-bg-blur]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-bg-blur\" default=\"8px\" placeholder=\"0~100px\" tag=\"input\"/> |\n|[[Default cover size(CSS background-size)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-size]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-size\" default=\"cover\" placeholder=\"cover, contain, auto, 100% 100%, 100% auto, auto 100%\"/> |\n|[[Default cover position(CSS background-position)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-position]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-position\" default=\"center\" placeholder=\"center, top, bottom, left, right, top left, top right, bottom left, bottom right\"/> |\n|[[Default cover repeat(CSS background-repeat)|$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-repeat]] | <$edit-text tiddler=\"$:/plugins/Gk0Wk/notionpage-covericon/config/default-cover-repeat\" default=\"no-repeat\" placeholder=\"no-repeat, repeat, repeat-x, repeat-y\"/> |\n\n</div>\n\n* Note: [Widescreen mode] and [Compact mode] are determined by <$link to=\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\"><<lingo Metrics/SidebarBreakpoint>></$link>. Now the <<lingo Metrics/SidebarBreakpoint>> is {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}.\n\n> This plugin uses the flexible and powerful <$text text=\"TiddlyWiki\" /> development framework [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\n\n</$list>\n</$list>\n",
"requires-reload": "no"
},
Expand Down
Loading

0 comments on commit 6fdc775

Please sign in to comment.