Skip to content

Instantly share code, notes, and snippets.

View CSUwangj's full-sized avatar
🚩
Focusing

望将 CSUwangj

🚩
Focusing
View GitHub Profile
@GitSquared
GitSquared / receiver-demo.html
Last active September 20, 2023 16:55
Use your browser to access a remote terminal.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Remote terminal</title>
<link rel="stylesheet" href="xterm.css" />
<script src="terminal.class.js"></script>
@iksena
iksena / Markdown.component.js
Created May 7, 2020 14:53
Markdown with remark-math
import React from 'react';
import ReactMarkdown from 'react-markdown';
import RemarkMathPlugin from 'remark-math';
const _mapProps = (props) => ({
...props,
escapeHtml: false,
plugins: [
RemarkMathPlugin
],
import React from 'react';
import ReactMarkdown from 'react-markdown';
import RemarkMathPlugin from 'remark-math';
import { BlockMath, InlineMath } from 'react-katex';
import 'katex/dist/katex.min.css';
const _mapProps = (props) => ({
...props,
escapeHtml: false,
plugins: [