initial commit
This commit is contained in:
35
.devcontainer/devcontainer.json
Normal file
35
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,35 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/markdown
|
||||
{
|
||||
"name": "Markdown Editing",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
// Configure properties specific to VS Code.
|
||||
"vscode": {
|
||||
// Add the IDs of extensions you want installed when the container is created.
|
||||
"extensions": [
|
||||
"yzhang.markdown-all-in-one",
|
||||
"streetsidesoftware.code-spell-checker",
|
||||
"DavidAnson.vscode-markdownlint",
|
||||
"shd101wyy.markdown-preview-enhanced",
|
||||
"bierner.github-markdown-preview",
|
||||
"myriad-dreamin.tinymist"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "uname -a",
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
||||
40
Exercices/main.typ
Normal file
40
Exercices/main.typ
Normal file
@@ -0,0 +1,40 @@
|
||||
#import "@preview/minicise:0.1.0": sheet
|
||||
#import "@preview/mitex:0.2.7": mitex
|
||||
#import "@preview/cmarker:0.1.10"
|
||||
|
||||
#show: sheet.with(
|
||||
title: [Exercices de cours],
|
||||
course: [Objets connectés et robotique],
|
||||
author: [Vincent Lannurien],
|
||||
date: [2026],
|
||||
semester: [L3 IFA, S5],
|
||||
)
|
||||
|
||||
#align(center)[
|
||||
#block(
|
||||
width: 66%,
|
||||
fill: luma(230),
|
||||
inset: 8pt,
|
||||
radius: 4pt
|
||||
)[
|
||||
#underline[*Consignes*]
|
||||
|
||||
#align(left)[
|
||||
- Aucun document autorisé.
|
||||
- Tout dispositif électronique interdit.
|
||||
]
|
||||
]
|
||||
|
||||
#v(15em)
|
||||
|
||||
// input file
|
||||
#let md = read("source.md")
|
||||
|
||||
// hugo <-> typst math syntax
|
||||
#let md = md.replace("\\[", "$$")
|
||||
#let md = md.replace("\\]", "$$")
|
||||
#let md = md.replace("\\(", "$")
|
||||
#let md = md.replace("\\)", "$")
|
||||
|
||||
#cmarker.render(md, math: mitex)
|
||||
]
|
||||
1
Exercices/source.md
Normal file
1
Exercices/source.md
Normal file
@@ -0,0 +1 @@
|
||||
**Mettre à jour le fichier Markdown** -- `source.md`
|
||||
Reference in New Issue
Block a user