Feed this to your AI to have your code tidy and awesome.
- Line Length: maximum 100 characters
- 1 blank line: between functions, methods, classes, after imports
- 2 blank lines: between logical sections, after docstrings, at end of every file
| import random as rd | |
| import functools as ft | |
| import streamlit as st | |
| import streamlit.components.v1 as components | |
| # Domanda: come applicare stili css solo ad alcuni elementi streamlit? | |
| # Risposta: iniettare js che aggiorni id e classe dell'elemento precedente |
| 'This script calls functions from the LibreOffice TexMaths extension | |
| 'Make sure TexMaths is installed, along with Tex | |
| Sub PaperLatex | |
| dim t as string | |
| dim oDoc as object | |
| dim oSearch as object | |
| dim oResult as object | |
| dim oCursor as object |
| $.fn.extend({ | |
| scanzytable: function (options) { | |
| //saves root, options and load items function | |
| var t = { root: this, options: options, loadItems: function (requestdata) { | |
| var root = this.root; | |
| //loads request data | |
| if (requestdata == undefined) requestdata = options['request']['data']; | |
| else //uses data passed as param to update data stored in object |