From dd778848f958d5f05277b720a28c8a787e662acd Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 20 Nov 2018 00:52:17 -0700 Subject: [PATCH] doc formatting --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9cc6f70..8fc2b0c 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,14 @@ with nested structures. There are only 3 methods needed to support all of the X.509 schemas that most of us care about, and so that's all this library has: +```js +ASN1(type, hex1, hex2, ...) +ASN1.UInt(hex1, hex2, ...) +ASN1.BitStr(hex1, hex2, ...) -* ASN1(type, hex1, hex2, ...) -* ASN1.UInt(hex1, hex2, ...) -* ASN1.BitStr(hex1, hex2, ...) -* (helper) ASN1.numToHex(num) +/*helper*/ +ASN1.numToHex(num) +``` Most ASN.1 types follow the same rules: