Skip to content

Instantly share code, notes, and snippets.

View jrykner's full-sized avatar

Jeremie Rykner jrykner

View GitHub Profile
@c3founder
c3founder / Auto-Direction.css
Last active March 9, 2021 06:48
Auto Text Direction for Roam Research
/*****RTL*****/
.roam-block-container[data-direction*="RTL"] .rm-block-main,
.rm-block-children .rm-block__children .rm-level-0 .flex-h-box {
direction: rtl;
}
.roam-block-container[data-direction*="RTL"] .rm-block-children
.rm-multibar{
left:unset;
right:1px;
border-right:unset;
@c3founder
c3founder / Math-Multi-Language-OCR.js
Last active June 1, 2022 17:14
Math and Multi Language OCR for Roamresearch
// ==UserScript==
// @name Math and Multi Language OCR for Roamresearch
// @author Connected Cognition Crumbs <c3founder@gmail.com>
// @require Roam42: Wait until Roam42 loads completely
// @version 0.4
// @description Ctrl+click => Math OCR using Mathpix (need to register on mathpix.com and activate the API)
// Shift+click => First Language OCR with Tesseract
// Alt+click => Second Language OCR with Tesseract
// Alt+a c => Replace the image with the OCR result
// @match https://*.roamresearch.com