diff --git a/README.md b/README.md index 094ca3e..920b3ef 100644 --- a/README.md +++ b/README.md @@ -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/). diff --git a/main.ts b/main.ts index b31ecdb..f409fc7 100644 --- a/main.ts +++ b/main.ts @@ -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 { diff --git a/styles.css b/styles.css index fcb66de..95a9eb5 100644 --- a/styles.css +++ b/styles.css @@ -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%; }