Hexo-backlink - This plugin is for transfer Obsidian-type backlink to standard hexo in-site post link.

Overview

Hexo-Backlink

A plugin to convert backlink in .md file to in-site link.

Install

npm install hexo-backlink

configuration

Add backlink:true in _config.yml:

Know-issue

  • Can not convert link include tags, it will ignore the tags. like:
    [[DemoMarkdownFile#Demo]] --<result equals>-> [[DemoMarkdownFile]]
    
You might also like...

A cross-platform file transfer tool

A cross-platform file transfer tool

LocalTransformer 不要被GitHub的评定给误导,该项目的实现和js没有任何关系,虽然web文件夹中有几万行js代码...,该项目是以go语言作为服务后台,flutter框架实现前台界面,本仓库为go的后端实现,当然也打包了web前端实现,由于相较于被功能的实现,后端的代码可能100

Oct 28, 2022

Claim $ARB airdrop of several wallets at the same time and transfer all the tokens to one address

arbitrum-airdrop-claimer Claim $ARB airdrop of several wallets at the same time and transfer all tokens to one address You need to have Node.js instal

Mar 21, 2023

Obsidian.md plugin that allows you to link multiple bible verses easily

Obsidian Bible Linker Plugin for easier linking of multiple bible verses in Obsdian.md note taking app. Usage Use command "Add biblical link" or click

Dec 27, 2022

Post directly to your Steemit from Obsidian

Post directly to your Steemit from Obsidian

Dec 22, 2022

A "link in bio" site built using the "T3" tech stack.

Create T3 App This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack. Why are there .js files in here? As per T3-Axi

Sep 5, 2022

Obsidian plugin: Type text shortcuts that expand into javascript generated text.

Obsidian plugin: Type text shortcuts that expand into javascript generated text.

Obsidian Plugin - Text Expander JS (open beta) This Obsidian plugin allows the user to type text shortcuts that are replaced by (or "expanded into") j

Dec 27, 2022

Dynamic (Per line/paragraph depend on language you type) RTL/LTR support plugin for Obsidian.md

Dynamic (Per line/paragraph depend on language you type) RTL/LTR support plugin for Obsidian.md

In the name of Allah Obsidian Dynamic RTL Dynamic (Per line/paragraph depending on the language you type) RTL/LTR support plugin for Obsidian.md Previ

Jan 2, 2023

An obsidian plugin for uploading local images embedded in markdown to remote store and export markdown for publishing to static site.

An obsidian plugin for uploading local images embedded in markdown to remote store and export markdown for publishing to static site.

Obsidian Publish This plugin cloud upload all local images embedded in markdown to specified remote image store (support imgur only, currently) and ex

Dec 13, 2022

An Obsidian plugin to paste Excel tables as Markdown tables in Obsidian editor.

An Obsidian plugin to paste Excel tables as Markdown tables in Obsidian editor.

Obsidian Excel to Markdown Table An Obsidian plugin to paste Excel tables as Markdown tables in Obsidian editor. Demo You can paste the copied Excel d

Jan 4, 2023
Comments
  • Does not work in windows10.

    Does not work in windows10.

    When I run the install command npm install hexo-backlink
    It return:

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})  
    
    + [email protected]  
    

    Will it support Windows platform in the futrue?

    opened by tymon42 5
  • Some glitches: wikilink in code block, post not found, plugin load failed

    Some glitches: wikilink in code block, post not found, plugin load failed

    It's a useful plugin and helps me a lot. I might never think of using Hexo's tag plugin {% post_link %} to implement such function.

    I found 3 glitches while using this plugin, shown as below.

    1. Wikilink in inline code and code blocks

    The [[knapsack]] inside inline code and fenced code block are also converted to {% post_link %} by this plugin.

    image

    2. Post not found

    The path seperator of Windows is '\', but tag plugin {% post_link %} requires '/', so I get a "Post not found" error:

    image

    Add the following code can fix this, but I'm not sure whether it's the "standard" way or not. (I never use js before, I'm new to it.)

    if (path.sep === "\\") {
        each = each.replace(new RegExp("\\" + path.sep, "g"), "/");
    }
    

    3. Plugin load failed

    Currently this plugin only works properly when I launch hexo s (or hexo g) in my hexo project's root directory.
    If I launch hexo s in a sub directory (e.g. the source folder), then errors will occur:

    PS D:\Sync\workspace\mlog\source> hexo s
    INFO  Validating config
    ERROR Plugin load failed: hexo-backlink
    Error: ENOENT: no such file or directory, scandir 'D:\Sync\workspace\mlog\source\source\_posts'
        at _readAndFilterDirSync (D:\Sync\workspace\mlog\node_modules\hexo-fs\lib\fs.js:120:13)
        at _listDirSyncWalker (D:\Sync\workspace\mlog\node_modules\hexo-fs\lib\fs.js:173:22)
        at Object.listDirSync (D:\Sync\workspace\mlog\node_modules\hexo-fs\lib\fs.js:189:3)
        at D:\Sync\workspace\mlog\node_modules\hexo-backlink\index.js:7:4
        at D:\Sync\workspace\mlog\node_modules\hexo\lib\hexo\index.js:317:14
        at Promise._settlePromiseFromHandler (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\promise.js:547:31)
        at Promise._settlePromise (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\promise.js:604:18)
        at Promise._settlePromises (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\promise.js:729:18)
        at _drainQueueStep (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\async.js:93:12)
        at _drainQueue (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\async.js:86:9)
        at Async._drainQueues (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\async.js:102:5)
        at Immediate.Async.drainQueues [as _onImmediate] (D:\Sync\workspace\mlog\node_modules\bluebird\js\release\async.js:15:14)
        at processImmediate (internal/timers.js:461:21)
    

    To fix it, change the way of construct base_dir in the plugin's code:

    // index.js
    
    // const base_dir = path.join(process.cwd(), "source", "_posts");
    const base_dir = path.join(hexo.source_dir, "_posts");
    
    opened by afterglowu 2
  • Fix some glitches

    Fix some glitches

    1. Let this plugin can be launched from any sub directory of your hexo project.
    2. Replace Windows path separator with '/', so this plugin works properly on Windows platform now.
    opened by afterglowu 1
Owner
null
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Carlo Zottmann 6 Dec 26, 2022
Move all the disks from the left hand post to the right hand post, only moving the disks one at a time and a bigger disk can never be placed on a smaller disk.

Hanoi Tower Description The Tower of Hanoi was a famous problem posed by a mathematician in 1883, The "puzzle" is to move all the disks from the left

Dustin J Sellers 1 Feb 5, 2022
A file sharing service, where you can upload files and provide a download link for anyone on the internet by sharing the link 🔗 or via mail ✉️ which remains active for 24hours 🕙.

eShare | File Sharing App A file sharing service, where you can upload files and provide a download link for anyone on the internet by sharing the lin

Akhil Bhalerao 7 Nov 20, 2022
Welcome contributers❤️🎉. Just add your name, Github profile link and Linkedin link🔗 Look at Readme for more.📖

Hello Welcome Developers! Step - 1 Create a GitHub account, if you don't already have one. Step - 2 Register for Hacktoberfest: Navigate to the Hackto

Prineth Fernando 28 Oct 31, 2022
An implementation of ERC1155D, a record setter for minting and transfer gas efficiency.

ERC1155D An implementation of ERC1155D, a record setter for minting and transfer gas efficiency. This contract is in alpha stage and has not been audi

null 72 Dec 26, 2022
A simple, lightweight Hexo theme

hexo-theme-async ???? English | ???? 中文简体 Installation cd hexo npm install --save hexo-renderer-less hexo-renderer-ejs hexo-wordcount cd themes git cl

Maluns 85 Jan 4, 2023
Marry in Web3, Mint Paired Soulbound NFTs by MultiSign Flow, No transfer, No sell, a non-financial Dapp

ERC721-520 Token 是 NFT-like Soulbound Token Standard(灵魂绑定凭证) 的一种实现,是 ERC721 标准的扩展。 ERC721-520 Token 不可转让,不可售卖,一个人同时只能有一个有效 Token ERC721-520 Token 由二者通

Marry3 48 Dec 21, 2022
Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls.

Contract Wallet Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls

Junho Yeo 3 Jun 18, 2022