Code Monkey home page Code Monkey logo

Comments (11)

obgnail avatar obgnail commented on August 13, 2024

@yuyan-sec 你好。

现在我给一下阶段性报告。

模板功能目前已经实装。

使用方式和 obsidian 略有区别:
右键菜单 -> 启用插件 -> 自定义插件 -> 文件模板。

当前支持的模板变量:

  • {{date}}: 当前日期
  • {{time}}:当前时间
  • {{weekday}}:当前周几
  • {{datetime}}:当前日期时间
  • {{yesterday}}:昨天日期
  • {{tomorrow}}:明天日期
  • {{random}}:随机数
  • {{title}}:新建文件的标题
  • {{folder}}:当前文件的目录
  • {{filepath}}:新建文件的路径
  • {{range}}:当前选取的文字
  • {{uuid}}:uuid

模板可以在 custom_plugin.toml 中 设置
Snipaste_2023-08-23_23-11-06

from typora_plugin.

yuyan-sec avatar yuyan-sec commented on August 13, 2024

@obgnail 好的,感谢添加新功能

from typora_plugin.

obgnail avatar obgnail commented on August 13, 2024

@yuyan-sec

【检查删除无用图片】功能目前已经实装。
具体使用方法请查看 readme

from typora_plugin.

yuyan-sec avatar yuyan-sec commented on August 13, 2024

@obgnail 👍👍👍

from typora_plugin.

yuyan-sec avatar yuyan-sec commented on August 13, 2024

@obgnail 好像不太准确,这图片明明已经引用了(使用相对路径引用的)

1

from typora_plugin.

yuyan-sec avatar yuyan-sec commented on August 13, 2024

@obgnail 希望添加一下双击图片放大的功能。
根据这文章可以实现:https://xiaoma.cool/2022/07/21/Typora%E4%BC%98%E5%8C%96%E5%8F%8A%E9%85%8D%E7%BD%AE/

from typora_plugin.

obgnail avatar obgnail commented on August 13, 2024

@yuyan-sec

修复已经上到 master 了。

原因是:我过滤掉了以点号开头的目录。原来大伙都会使用这么奇怪的文件名呀 😂

Snipaste_2023-08-28_12-28-17

from typora_plugin.

obgnail avatar obgnail commented on August 13, 2024

@yuyan-sec

保险起见,能让我看看 image-20230826... 这张图片在原文的所在行的内容(源码格式)吗?

from typora_plugin.

yuyan-sec avatar yuyan-sec commented on August 13, 2024

@obgnail
Snipaste_2023-08-28_14-02-54

from typora_plugin.

obgnail avatar obgnail commented on August 13, 2024

@obgnail 希望添加一下双击图片放大的功能。 根据这文章可以实现:https://xiaoma.cool/2022/07/21/Typora% E4% BC%98% E5%8C%96% E5%8F%8A% E9%85%8D% E7% BD% AE/

@yuyan-sec 已经实现了。麻烦更新一下试试看。

他的实现太重了,我是简单改了一下 resize_image.js 支持的。不是双击,而是 ctrl+wheel

from typora_plugin.

obgnail avatar obgnail commented on August 13, 2024

如果有其他问题,麻烦另开 issue

from typora_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.