# Marp

## What is it?

* Marp is a tool to make presentations using markdown

## How to

* At the begining of the file you need to specify that it is a marp slideck

```
---
marp: true
title: Presentation title
author: Author Name
description: presentation description
size: 16:9
header: 'Put a header here'
footer: 'Put a footer here'
paginate: true
_paginate: false        # Remove page number of page 1
---
```

* You can use .svg images or any other format amd insert them as usual in markdown `![](image.link)` to redmension and image you can add `width:400px` between the "\[]"
* You can change the style (you can use color code instead of color name just like in html

```
<style>
  :root {
    --color-background: black; 
    --color-foreground: green;
  }
  h1 {
    font-family: Courier New;
  }
</style>
```

* Presentation tips

```
- Bullet point
  - Child bullet
- **Bold**
- _Italic_
- `code`
<!--
Add a comment this way
-->
```

* You can use [draw.io](https://draw.io) to make your graph and visuals

## Tools

* VSCodium or Visual studio code
  * The Marp add-on for vscodium (or visual studio code) this will show you the visual of your md.

## Resources

* [Marp](https://marp.app/)
* [VS Codium - VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.](https://vscodium.com/)
* [Visual Studio Code](https://code.visualstudio.com/)
* [Directives](https://github.com/marp-team/marp/blob/main/website/docs/guide/directives.md) (very useful to see how to set up yourself if you start from scratch)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csbygb.gitbook.io/pentips/digital-skills/marp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
