Skip to content

Commit 59071c7

Browse files
authored
Merge pull request #10 from SOORAJTS2001/feat/add-documentation
Feat: Add explanation about usage
2 parents 37207b0 + ec2e916 commit 59071c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,15 @@ or the mouse is not showing up:
232232
- Collects and returns the text content (whitespace-trimmed).
233233
- Visually highlights the region by overlaying a semi-transparent blue box.
234234
- The highlight box automatically disappears after 2 seconds.
235-
235+
-
236+
**Although, all our core functionality and logic are in python**<br><br>
236237
***You may have noticed that a significant part of our project is shown as JavaScript. This is because the Python runtime in the browser extension relies on JavaScript to bootstrap and interact with WebAssembly.
237238
It mainly involves two key files:***
238239
239240
- **`pyodide.asm.js`** – Emscripten-generated “glue code” that initializes the WebAssembly (`.wasm`) binary and connects it to the browser’s JavaScript environment.
240241
- **`pyscript.js`** – JavaScript glue for PyScript. It integrates Pyodide with HTML elements like `<py-script>` and `<py-repl>`, enabling inline Python execution inside web pages or extensions.
241242
242-
***Since extensions cannot load executable code directly from the internet (for security reasons), we had to package these files locally instead of relying on CDNs.***
243+
***Since extensions cannot load executable code directly from the internet (for security reasons), we had to package these files locally instead of relying on CDNs.***<br>
243244
244245
## Limitations
245246
Sometimes the extension could not be used inside sites and restricts script injection, it will throw an error

0 commit comments

Comments
 (0)