[glib/pgriffis/doc-fix] docs: Fix formatting of code block
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/pgriffis/doc-fix] docs: Fix formatting of code block
- Date: Mon, 19 Apr 2021 16:59:05 +0000 (UTC)
commit e926efe8e2c89f5d93ec82643958d9cb5dc32404
Author: Patrick Griffis <pgriffis igalia com>
Date: Mon Apr 19 11:58:35 2021 -0500
docs: Fix formatting of code block
gio/gtlscertificate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gtlscertificate.c b/gio/gtlscertificate.c
index 9d00272f8..ae9e88016 100644
--- a/gio/gtlscertificate.c
+++ b/gio/gtlscertificate.c
@@ -658,7 +658,7 @@ g_tls_certificate_new_from_files (const gchar *cert_file,
*
* Where the token’s layout is:
*
- * ```
+ * |[
* Object 0:
* URL:
pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My%20Client%20Certificate;id=%01;object=private%20key;type=private
* Type: Private key (RSA-2048)
@@ -668,7 +668,7 @@ g_tls_certificate_new_from_files (const gchar *cert_file,
* URL:
pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My%20Client%20Certificate;id=%01;object=Certificate%20for%20Authentication;type=cert
* Type: X.509 Certificate (RSA-2048)
* ID: 01
- * ```
+ * ]|
*
* In this case the certificate and private key would both be detected and used as expected.
* @pkcs_uri may also just reference an X.509 certificate object and then optionally
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]