couleur du texte

This commit is contained in:
Fred Tempez 2024-02-20 08:46:27 +01:00
parent 6d34f66b37
commit 9b43a4213b
23 changed files with 263445 additions and 48 deletions

1
.obsidian/app.json vendored Normal file
View File

@ -0,0 +1 @@
{}

4
.obsidian/appearance.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"accentColor": "#00a7b3",
"theme": "obsidian"
}

3
.obsidian/community-plugins.json vendored Normal file
View File

@ -0,0 +1,3 @@
[
"marp-slides"
]

30
.obsidian/core-plugins-migration.json vendored Normal file
View File

@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}

20
.obsidian/core-plugins.json vendored Normal file
View File

@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]

View File

@ -0,0 +1,9 @@
{
"CHROME_PATH": "",
"ThemePath": "",
"EnableHTML": true,
"MathTypesettings": "mathjax",
"HTMLExportMode": "bespoke",
"EXPORT_PATH": "",
"EnableSyncPreview": true
}

View File

@ -0,0 +1 @@
"use strict";exports.c=function(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,68 @@
Name: bespoke
Version: 1.2.0-dev
License: (MIT)
Private: false
Description: DIY Presentation Micro-Framework
Repository: git://github.com/bespokejs/bespoke.git
Author: Mark Dalgleish (http://markdalgleish.com)
License Copyright:
===
Copyright (c) 2014 Mark Dalgleish
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
---
Name: vhtml
Version: 2.2.0
License: MIT
Private: false
Description: Hyperscript reviver that constructs a sanitized HTML string.
Repository: git+https://github.com/developit/vhtml.git
Homepage: https://github.com/developit/vhtml
Author: Jason Miller <jason@developit.ca>
License Copyright:
===
The MIT License (MIT)
Copyright (c) 2015 Jason Miller
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./marp-cli-b9daa9b1.js");require("process"),require("os"),require("tty"),require("yargs/yargs"),require("yargs"),require("fs"),require("path"),require("cosmiconfig"),require("util"),require("child_process"),require("url"),require("import-from"),require("stream"),require("events"),require("tmp"),require("@marp-team/marpit"),require("puppeteer-core"),require("net"),require("is-wsl"),require("crypto"),require("chokidar"),require("ws"),require("querystring"),require("serve-index"),require("@marp-team/marp-core/package.json");const e=r.a;exports.CLIError=r.C,Object.defineProperty(exports,"CLIErrorCode",{enumerable:!0,get:function(){return r.b}}),exports.default=r.a,exports.waitForObservation=r.w,exports.marpCli=e;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./marp-cli-b9daa9b1.js");require("yargs/yargs"),require("process"),require("os"),require("tty"),require("yargs"),require("fs"),require("path"),require("cosmiconfig"),require("util"),require("child_process"),require("url"),require("import-from"),require("stream"),require("events"),require("tmp"),require("@marp-team/marpit"),require("puppeteer-core"),require("net"),require("is-wsl"),require("crypto"),require("chokidar"),require("ws"),require("querystring"),require("serve-index"),require("@marp-team/marp-core/package.json"),exports.apiInterface=e.a,exports.cliInterface=e.e,exports.default=e.e,exports.marpCli=e.d,exports.waitForObservation=e.w;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(){"use strict";const e="marp-cli-show-all";!function(){const t=document.getElementById("show-all"),s=document.getElementById("index"),c=c=>{t.checked=c,s.classList.toggle("show-all",c);try{sessionStorage.setItem(e,c?"1":"")}catch(e){console.error(e)}};c(!!sessionStorage.getItem(e)),t.addEventListener("change",(()=>c(t.checked)))}()}();

View File

@ -0,0 +1 @@
!function(){"use strict";const e=(n,o=!1)=>{const t=new WebSocket(n);return t.addEventListener("open",(()=>{console.info("[Marp CLI] Observing the change of file..."),o&&location.reload()})),t.addEventListener("close",(()=>{console.warn("[Marp CLI] WebSocket for file watcher was disconnected. Try re-connecting in 5000ms..."),setTimeout((()=>e(n,!0)),5e3)})),t.addEventListener("message",(e=>{"reload"===e.data&&location.reload()})),t};(()=>{const n=window.__marpCliWatchWS;n&&e(n)})()}();

262793
.obsidian/plugins/marp-slides/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "marp-slides",
"name": "Marp Slides",
"version": "0.44.0",
"minAppVersion": "0.15.0",
"description": "Create markdown-based Marp presentations in Obsidian",
"author": "Samuele Cozzi",
"authorUrl": "https://samuele-cozzi.web.app/",
"isDesktopOnly": false
}

View File

@ -0,0 +1,8 @@
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/

180
.obsidian/workspace.json vendored Normal file
View File

@ -0,0 +1,180 @@
{
"main": {
"id": "0b569705de24b9f2",
"type": "split",
"children": [
{
"id": "6106fd2adb61bc98",
"type": "tabs",
"children": [
{
"id": "b618911a6639f75e",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "src/Le texte couleur et taille.md",
"mode": "source",
"source": false
}
}
}
]
},
{
"id": "59f7a8c4de485dab",
"type": "tabs",
"children": [
{
"id": "dee7b598ab415f2f",
"type": "leaf",
"state": {
"type": "marp-preview-view",
"state": {}
}
}
]
}
],
"direction": "vertical"
},
"left": {
"id": "34ff45a0a6bc6965",
"type": "split",
"children": [
{
"id": "f50125a9c915d672",
"type": "tabs",
"children": [
{
"id": "68ea7187d1dd443c",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
},
{
"id": "24d396c2a2bd761b",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "b81ea0d65df5e8ac",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "96acd12657eb9578",
"type": "split",
"children": [
{
"id": "8fbbad7e647160ad",
"type": "tabs",
"children": [
{
"id": "2f7bfdb561abf9f8",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "src/Le texte couleur et taille.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "ce7d92fb4bef3e28",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "src/Le texte couleur et taille.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "2d65a8ddd31b6895",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "ce06b6a3af682b26",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "src/Le texte couleur et taille.md"
}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"switcher:Ouvrir le sélecteur rapide": false,
"graph:Ouvrir la vue graphique": false,
"canvas:Créer une nouvelle toile": false,
"daily-notes:Ouvrir la note quotidienne": false,
"templates:Insérer le modèle": false,
"command-palette:Ouvrir la palette de commandes": false,
"marp-slides:Show Slide Preview": false
}
},
"active": "b618911a6639f75e",
"lastOpenFiles": [
"src/Le texte.md",
"src/Couleurs du texte.md",
"src/Le texte couleur et taille.md",
"src/Couleurs des titres.md",
"src/Thème White.md",
"src/Thème Uncover.md",
"src/Thème Gaia.md",
"src/Les titres.md",
"src/En-tête et pied de page.md",
"src/Couleurs en-tête et pied de page.md",
"src/Décoration et couleur du texte.md",
"src",
"index.md"
]
}

View File

@ -6,7 +6,7 @@ color: red
La couleur se définit comme une propriété lorsqu'elle s'applique à toutes les diapositives.
On peut aussi les définir à l'aide de directives pour définir diapositive par diapositive.
On peut aussi la définir à l'aide de directives pour définir la couleur diapositive par diapositive.
`<!-- color: red -->`
@ -28,6 +28,20 @@ Couleur du texte d'une seule diapositive, celle fois en bleu avec la directive :
# Diapo 4
Retour au texte du rouge
<style scoped>
p {
font-size: 45px;
}
</style>
Augmenter la taille du texte avec la propriété font-size :
`<style scoped>`
`p {`
`font-size: 60px;`
`}`
`</style>`

View File

@ -1,47 +0,0 @@
---
color: red
---
# Diapo 1
La couleur se définit comme une propriété lorsqu'elle s'applique à toutes les diapositives.
On peut aussi les définir à l'aide de directives pour définir diapositive par diapositive.
`<!-- color: red -->`
---
# Diapo 2
Couleur du texte rouge :
---
<!-- _color: blue -->
# Diapo 3
Couleur du texte d'une seule diapositive, celle fois en bleu avec la directive :
`<!-- _color: blue -->`
---
# Diapo 4
Retour au texte du rouge
<style scoped>
p {
font-size: 45px;
}
</style>
Augmenter la taille du texte avec la propriété font-size :
`<style scoped>`
`p {`
`font-size: 60px;`
`}`
`</style>`