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
DID Method Enumeration
There are muliple places in the ecosystem that require expression of which DID methods are supported.
This spec describes a micro data format for the expression of did method support.
Each expression is in the form of a struct/object. Typically, these expressions are represented in a list. See the end for a complete example.
By Method
The simplest way is to express the method supported
By Method, with Features
If the DID Method defines feature names in their spec, you can specify the method and include a subset of features of the did method that you support.
Each feature is expressed as a string. The meaning of the feature strings is specified in the DID method.
Omitting the features list indicates that you support all features of the method.
By Prefix
When a method name is insufficient and the DID method does not define features, you may need to specify a prefix which limits the matching DIDs further
You can include mutiple prefix entries in the same list for the same DID method.
Combined Example
The following example shows common use of the DID Method Support statements in a list