mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 16:20:57 -05:00
fix(docs): reformat hfm.md
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
34b6308cee
commit
e7246f1484
1 changed files with 63 additions and 63 deletions
|
@ -9,7 +9,7 @@ These tables tell you what exactly we support in HedgeDoc 1.x (HFM 1) and HedgeD
|
|||
|
||||
|
||||
| Feature | HFM 1 | HFM 2 | CommonMark | GFM |
|
||||
|---------------|:-----:|:-----:|:-------------------:|:-----------------:|
|
||||
| ------------- | :---: | :---: | :---------------: | :---------------: |
|
||||
| bold | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| italic | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| underline | ☑️ | ☑️ | (☑️ with `<ins>`) | (☑️ with `<ins>`) |
|
||||
|
@ -21,7 +21,7 @@ These tables tell you what exactly we support in HedgeDoc 1.x (HFM 1) and HedgeD
|
|||
## Extended typography features
|
||||
|
||||
| Feature | HFM 1 | HFM 2 | CommonMark | GFM |
|
||||
|--------------------------------|:-----:|:-----:|:----------:|:---:|
|
||||
| ------------------------------------------- | :----------------------: | :----------------------: | :--------: | :---: |
|
||||
| heading | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| inline code | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| indented code blocks | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
|
@ -48,7 +48,7 @@ These tables tell you what exactly we support in HedgeDoc 1.x (HFM 1) and HedgeD
|
|||
## Links & Images
|
||||
|
||||
| Feature | HFM 1 | HFM 2 | CommonMark | GFM |
|
||||
|-----------------------|:-----:|:-----:|:----------------:|:----------------:|
|
||||
| --------------------- | :---: | :---: | :--------------: | :--------------: |
|
||||
| link | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| link reference | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| link title | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
|
@ -63,7 +63,7 @@ These tables tell you what exactly we support in HedgeDoc 1.x (HFM 1) and HedgeD
|
|||
## Structural elements
|
||||
|
||||
| Feature | HFM 1 | HFM 2 | CommonMark | GFM |
|
||||
|-------------------|:------------------------:|:------------------------:|:--------------------:|:--------------------:|
|
||||
| ----------------- | :------------------: | :---: | :------------------: | :------------------: |
|
||||
| table | ☑️ | ☑️ | (☑️ with `<table>`) | ☑️ |
|
||||
| horizontal line | ☑️ | ☑️ | ☑️ | ☑️ |
|
||||
| collapsable block | (☑️ with `<details>`) | ☑️ | (☑️ with `<details>`) | (☑️ with `<details>`) |
|
||||
|
@ -73,7 +73,7 @@ These tables tell you what exactly we support in HedgeDoc 1.x (HFM 1) and HedgeD
|
|||
HFM 1 includes support for certain embeddings of external content by using the `{%keyword parameter %}` syntax. To increase the readability of the markdown code we decided that HFM 2 should just use plain links if possible.
|
||||
|
||||
| Feature | HFM 1 | HFM 2 | CommonMark | GFM |
|
||||
|--------------------------|:-----:|:------------------:|:----------:|:---:|
|
||||
| --------------------------------------------------- | :---: | :---------------------: | :--------: | :---: |
|
||||
| PDF (`{%pdf ... %}`) | ☑️ | removed | | |
|
||||
| [YouTube][youtube] (`{%youtube ... %}`) | ☑️ | with plain link[^embed] | | |
|
||||
| [Vimeo][vimeo] (`{%vimeo ... %}`) | ☑️ | with plain link[^embed] | | |
|
||||
|
@ -87,7 +87,7 @@ HFM 1 includes support for certain embeddings of external content by using the `
|
|||
Besides the basic HTML typography elements (`<p>`, `<a>`, `<b>`, `<ins>`, `<del>`) the following more special HTML elements are supported by some specification.
|
||||
|
||||
| Feature | HedgeDocMark 1 | HedgeDocMark 2 | CommonMark | GFM |
|
||||
|:-------------:|:--------------:|:--------------:|:----------:|:---:|
|
||||
| :-----------: | :------------: | :------------: | :--------: | :---: |
|
||||
| `<title>` | | | ☑️ | |
|
||||
| `<textarea>` | | ☑️ | ☑️ | |
|
||||
| `<style>` | ☑️ | ☑️ | ☑️ | |
|
||||
|
|
Loading…
Reference in a new issue