small changes

This commit is contained in:
Fujun Du 2023-03-04 14:31:19 +08:00
parent 079d4a4ab5
commit fcad7130f3
3 changed files with 9 additions and 5 deletions

View file

@ -7,4 +7,4 @@ Obsidian supports LaTeX, but there are cases where Unicode symbols suffice.
Run command `LaTeX to Unicode`. In the pop-up box, type in the LaTeX commands, then insert the conversion results.
## Acknowledgment
- This plugin is based on data provided by [unicodeit](https://www.unicodeit.net/), specifically [this file](https://github.com/svenkreiss/unicodeit/blob/master/ts_src/data.ts).
- This plugin is based on [unicodeit](https://www.unicodeit.net/), specifically [this GitHub repository](https://github.com/svenkreiss/unicodeit/).

View file

@ -1,4 +1,4 @@
import { App, Editor, MarkdownView, Menu, Modal, Notice, Plugin, PluginSettingTab, Setting, sanitizeHTMLToDom } from 'obsidian';
import { App, Editor, Modal, Notice, Plugin, Setting, sanitizeHTMLToDom } from 'obsidian';
import { replacements, combiningmarks, subsuperscripts } from './data.ts';
export default class LaTeXtoUnicode extends Plugin {

View file

@ -1,7 +1,11 @@
#userInput, #resDisp {
table, #userInput, #resDisp {
width: 100%;
}
.inputTable td {
width: 50%;
.inputTable td:first-child {
width: 30%;
}
.inputTable td:last-child {
width: 70%;
}