From 48d45fee11a43906a38def94d1ca24435f193086 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sun, 7 Sep 2025 12:49:25 +0200 Subject: [PATCH] J'ai finalement retravailler la feuille de style des log. --- didl/markdown.go | 6 +- pmolog/index.html | 123 +++++++++++++++++- soap/markdown.go | 69 ++++++++++ ssdp/server.go | 5 +- .../AVTransport/sv_AVTransportURIMetaData.go | 2 +- upnp/serviceinstance.go | 10 +- 6 files changed, 198 insertions(+), 17 deletions(-) create mode 100644 soap/markdown.go diff --git a/didl/markdown.go b/didl/markdown.go index b424be5d..589f943a 100644 --- a/didl/markdown.go +++ b/didl/markdown.go @@ -7,17 +7,17 @@ import ( func (d *DIDLLite) ToMarkdown() string { var buf strings.Builder - buf.WriteString("# DIDL-Lite Document\n\n") + buf.WriteString("### DIDL-Lite Document\n\n") if len(d.Containers) > 0 { - buf.WriteString("## Containers\n\n") + buf.WriteString("#### Containers\n\n") for _, c := range d.Containers { c.markdown(&buf, 0) } } if len(d.Items) > 0 { - buf.WriteString("## Items\n\n") + buf.WriteString("#### Items\n\n") for _, i := range d.Items { i.markdown(&buf, 0) } diff --git a/pmolog/index.html b/pmolog/index.html index afa4bff6..f97a11db 100644 --- a/pmolog/index.html +++ b/pmolog/index.html @@ -6,6 +6,7 @@ @@ -163,6 +269,7 @@ +
@@ -173,11 +280,25 @@