Coder Social home page Coder Social logo

voidmous / rlg Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13 KB

A Grease Monkey script to make reference link text in all kinds of markup languages (markdown, html, latex etc.) and copy it to system clipboard.

License: Other

JavaScript 58.29% HTML 41.71%

rlg's Introduction

RefLinkGenerator

Intro

From time to time, we need to write reference hyperlink texts to internet pages in various markup languages. The process is rather trivial yet tedious. RefLinkGenerator is here to simplify that operation, which is a grease-monkey script to generate reference link to current page in different kinds of markup languages such as Markdown, html and LaTeX etc. It can also help copy to system clipboard with one single click.

Installation

  • To install this script, you have to install user-scripts management extension for your browser, e.g. Tampermonkey for Chrome. For other browsers, you may take a look at How to install user scripts
  • After the extension is installed, then go to installation page and install the script.

Usage

  1. Select the page you want to make a link referring to
  2. Move your mouse over the left top (almost top) boarder of the page
  3. A panel will popup and you can click buttons to copy the generated texts.
  4. Optional. You can edit the title auto retrieved if that's not what you need, then click Regenerate button. Now all the link texts are updated and you can copy as you wish.

Auto-hide panel on top-left

Operation panel

Manual selection

Known issues

  • Firefox doesn't support direct copy to system clipboard. User have to copy the text manually.

介绍

我们写文章或者博客时总是要不停的添加超链接,复制网址、复制标题、修改标记格式,整个过程很琐碎也很费劲。引用链接生成器(RefLinkGenerator) 就是为简化这一过程而生。它可以自动生成多种标记语言格式的超链接文本,并且可以一键复制到系统剪贴板,直接粘贴吧!

安装

使用

  1. 到要引用的页面
  2. 鼠标移动到页面左上角可以呼出自动隐藏的边栏
  3. 点击相应标记语言的按钮即可复制自动生成的链接文本
  4. 可选步骤。如果自动提取的标题不如你意,可以手动修改后点Regenerate按钮重新生成链接再复制

已有的问题

  • Firefox好像不支持直接复制到系统剪贴板,用户需要手动复制。

rlg's People

Watchers

 avatar  avatar

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.