npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-link-obsidian

v1.1.7

Published

Convert Obsidian WikiLinks to Markdown format by use obsidian plugin server

Downloads

12

Readme

hexo-link-obsidian

node

此插件必须配合

Hexo 博客插件,插件将自动请求ob插件以处理_posts中所有文档(包括符号链接的文档)的wiki链接,各类型文件的处理方式如下:

  • .md 根据文档头部内容里 abbrlink: <link> 的永久链接(必需否则404)生成 <a href="/post/<link>#<encodedBlockRef>" data-pjax-state><altText></a> 文章链接的形式
  • .png/jpg/jpeg/gif 常用图片格式文件将被复制到该文章生成目录下的images目录下,并将链接转化为其相对路径链接
  • .mp4/webm/ogg video标签支持的视频格式文件将被复制到该文章生成目录下的images目录下,并将链接转化为其相对路径链接,wiki链接的嵌入符号# *.mp4#position= "absolute" width="100%" height="100%" controls="controls" 后文字可作为video标签属性被应用
  • .* 其他类型文件将被转为常规md形式[](),更多格式支持欢迎提issue

新增功能

  • 转换Obsidian插件Media Extended嵌入的视频为相应的iframe标签如
    • ![官方教程|720x360](https://www.bilibili.com/video/BV15a4y1L7K7) 转为
    • <iframe width="720" height="360" src="https://player.bilibili.com/player.html?bvid=BV15a4y1L7K7&high_quality=1&danmaku=0&as_wide=1&" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" class="bili-iframe"> </iframe>
    • 目前只支持 www.bilibili.com youtube.com www.youtube.com youtu.be vimeo.com 等嵌入链接

安装

npm i hexo-link-obsidian -s
yarn add hexo-link-obsidian

自定义配置

以下配置非必需,在 your-hexo-project/_config.yml 或 _multiconfig.yml 添加。

# Link Obsidian
easy_images:
  port: 3333 # 必须和obsidian插件中的端口相匹配 Must be same as link-to-obsidian server port