or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Fix MirageOS Libraries on CI
Reference: https://ocaml.ci.dev/github/mirage
On Ubuntu 22.04 LTS:
Docker
Attempt III: Using images from ocaml/opam
Test with alpine-3.19-ocaml-5.1:
Pre-requisites:
Either
coin
bechamel
cactus
gmp-dev is not installed on alpine.
$ sudo apk add gmp-dev
$ opam install . –deps-only –with-test -y
$ dune build
Conan
Failure on debian-12-4.14+flambda_opam-2.1
cowabloga
On alpine-3.19-5.1_opam-2.1 and other distributions:
irmin
irmin-watcher
Update mtime dependency in dune-project to use:
(mtime (and :with-test (>= "2.0.0")))
Update test/test.ml from Mtime.Span.to_us to Mtime.Span.to_float_ns.
Reference:
Docker Source:
Attempt II: Using dev-containers
Start the container
Install dependenciess
References:
Attempt I: Manual opam install
Install dependencies
Note: build-base provides cc.
Install OPAM
Create user opam
Add
Update /etc/passwd to set default shell as /bin/bash for opam user.
Set sh redirect to bash
Initialize opam
The error
References: