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.
Syncing
xxxxxxxxxx
Running bootstrap without python
bootstrap-shim
binary + dist component that we package with each nightly. This is just in charge of downloading and running bootstrap itself. In particular, it will:rustup component add --toolchain nightly-XXX bootstrap-shim && rustup run nightly-XXX bootstrap-shim "$@"
, where XXX is a pinned nightly. This shim whould very rarely be updated; downloads don't frequently change. If rustup isn't installed, they should fall back to the current logic that searches for a python version. This should be very little additional code.Right now the "library" for bootstrap is nearly everything except for a tiny 5-line main function.
I plan to make the "core" code used by both the shim and the main bootstrap binary the library, and only include files like
builder.rs
andcheck.rs
in the main binary. That will involve:bin/bootstrap-shim.rs
filelib.rs
to a different file (maybehelpers.rs
?)lib.rs
with onlymod download; mod config; mod dylib_util;
statementsOpen questions
A: Yes. That use case is unsupported; people without rustup will need to keep using x.py.