mirror of
https://github.com/fjdu/obsidian-latex-unicode.git
synced 2026-07-22 07:30:30 +00:00
small changes
This commit is contained in:
parent
079d4a4ab5
commit
fcad7130f3
3 changed files with 9 additions and 5 deletions
|
|
@ -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/).
|
||||
|
|
|
|||
2
main.ts
2
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 {
|
||||
|
|
|
|||
10
styles.css
10
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%;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue