Files
Momento/memento-note/extension/manifest.json
Antigravity bff060ad20
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 7m24s
CI / Deploy production (on server) (push) Successful in 23s
feat(extension): rendu Markdown dans la prévisualisation + zone agrandie v0.4.3
Avant : renderConfirm() échappait le résumé et l'extrait avec escapeHtml(),
donc les **gras**, *italique*, [liens](), listes, titres du Markdown
produit par l'IA s'affichaient en texte brut (littéral « **gras** »).

Maintenant : renderMarkdownSafe() parse le Markdown en HTML limité
et sûr (escapeHtml d'abord, puis regex sur le texte échappé — pas de
HTML brut autorisé).

+ Refonte du panneau de prévisualisation :
  - .preview-block avec header sticky (label Résumé / Extrait)
  - .excerpt-block : min-height 180px, max-height 360px, scroll si long
  - .summary-block : fond bleuté léger, bordure gauche sky
  - markdown-h3/h4/h5 stylés (serif pour titres), strong/em/code/ul/a
  - Polices 14px, line-height 1.7, word-break pour texte long

+ Nouvelle clé i18n summaryLabel dans les 15 locales.
+ Version 0.4.2 → 0.4.3.
2026-07-18 10:35:00 +00:00

54 lines
1.0 KiB
JSON

{
"manifest_version": 3,
"name": "__MSG_extName__",
"version": "0.4.3",
"description": "__MSG_extDescription__",
"default_locale": "en",
"permissions": [
"activeTab",
"scripting",
"storage",
"sidePanel",
"tabs"
],
"host_permissions": [
"http://localhost:3000/*",
"http://127.0.0.1:3000/*",
"https://memento-note.com/*",
"http://*/*",
"https://*/*"
],
"background": {
"service_worker": "background.js"
},
"side_panel": {
"default_path": "sidepanel.html"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"content.js"
],
"run_at": "document_idle",
"all_frames": false
}
],
"action": {
"default_title": "__MSG_extActionTitle__"
},
"sidebar_action": {
"default_title": "__MSG_extActionTitle__",
"default_panel": "sidepanel.html"
},
"browser_specific_settings": {
"gecko": {
"id": "memento-clipper@memento-note.com",
"strict_min_version": "115.0"
}
}
}