From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29610 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin Hepp Newsgroups: gmane.text.pandoc Subject: Re: Naming Conventions for Class and Attribute Names? Date: Wed, 24 Nov 2021 19:28:51 +0100 Message-ID: <46B75B3F-AE63-410A-A976-445A05BFB565@gmail.com> References: <0B37EABB-86C6-40D1-BCD8-4FFDC4B5EDE3@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5226"; mail-complaints-to="usenet@ciao.gmane.io" To: 'juh' via pandoc-discuss Original-X-From: pandoc-discuss+bncBDDMFSFCYUDBBZMI7KGAMGQEXSQ3QNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 24 19:29:00 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f61.google.com ([209.85.128.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mpx0u-00013L-FK for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 24 Nov 2021 19:29:00 +0100 Original-Received: by mail-wm1-f61.google.com with SMTP id m14-20020a05600c3b0e00b0033308dcc933sf1906983wms.7 for ; Wed, 24 Nov 2021 10:29:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637778535; cv=pass; d=google.com; s=arc-20160816; b=kD35ucWjPX8QiqV/IGM7T2tn0Y0qITLDGQ/pU3x5Q7NZBH41GN5ul4aOlWXpn+fU+I AVaMGmYITRsaEfuspvNrwNTPiS8KsJ0vEvuWX/1dEm8PPVI+cGY4CJyDvnoLjtr8P6SX 2d9JyZxR+zE6XvyY10XA6cNQBKErJHOhJoAvCRGgVjarIULJV/3U8Gi/M1xvj6lbpDlF 4iOaxlgKK22UbVkPCtnHfQH1A9tiX1vBaOiTbYr2OJnv0JoPlS17haVDEvXjiy6D+uy8 Wle2L7UTy6z+b1BV3O1rgFyDc1XpOuQGc9ruUPMUOQHV/938j4rBNsZo2RwBy6k3OI8b cn/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature :dkim-signature; bh=eUdNHP6oWArUaky0I/WOWFtRa9QTQSPx/BrK7C2C5jw=; b=BUvzNYC4Uh3FlToLmvIBtjS8M96yQeQu/TjAhAkNst4xgTh9jomjiPhIrrIMlum6vw 92v44dFgFfnjvGOpxa38lqv1KsBtaBRflYR3SmZxYMyYpn3YssfcWFzqDVzCvQ4cW6oT 9nxrp91dHcMauYCuZbSdiyz4FsLCYk6e9EcHK8pXXDpS1jmrESDCVqsBiR+rd4mqMKwp kT90VXjfwacvcKr0w8g+aynNedtuOOw2qMiD/RkQdHaKUTpiNIHvQOjZswQb0NkREehu eZvpEohKut6uukF7phFa3LQXMrSNAYYcshkj3rwoxyNffguHP00OJiwHDhh1uZ8tqQk4 a2Yw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=USqOaLSs; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:mime-version:subject:date:references:to:in-reply-to :message-id:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=eUdNHP6oWArUaky0I/WOWFtRa9QTQSPx/BrK7C2C5jw=; b=czhHz7PZSECg+UMHTjvlwnh04ATTXMMT93MEPLFhCCp2TD+EsBxhUZ06QM1srnAfW2 /i5EPWsRdNNe9rEMukGXllGz74gb+Ln45n7wHJJRg4moNaapd4QBmAdWibzLefPvnr0Z kXkjRp2ifE6QLUfZ1jo2EYPA+BvxoaiAtFxsrSaE9GR3vGh5GJwdgFj/FlPmoOwffu6+ TK5lyxIgFOhSXReyfe23rYe73clpnxr47+1PReJHCN9WW4SFF+HUFVI6WGco72rmSEzs 4VguTSh9BdOsX6W8lOmg0zPvH+xLcpQxXbsf7EM3qymjr57ltlVDHzzpVPJ5TtFaOOGQ NSIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:date:references:to:in-reply-to:message-id :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=eUdNHP6oWArUaky0I/WOWFtRa9QTQSPx/BrK7C2C5jw=; b=JUTAFe3aCZLYlYKrVMUGR/djpyApvXwHfw6wrUHITP++8igsZVffX/NCW/68fMRWPi AGqEIr9ZX+Ka0W/eQeaGc/Qc7rx2MA9BAsXFqRALxbFzTcXI04Ieu3IgXhAx7YKj0SB6 Fd8Bf3k7oHKme4Q41AGreGChn3Azfux10ukrb8qyS1/Rh/oIcD8Z/hZqySnlkNMZR/rn 9MMGv1DgkZKD3Q6xxFzacqHFmjinDxR+Dkevg+Rw67g5zpLh2hFV397iPqQZpcw4P14x vpBZiHPxfLar9Ms/2LdTMGZHhVD/9IgfbwIfd/e2yACS1/GXVlM1GsI9hMro6X3zauPv Cj0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:mime-version:subject:date:references :to:in-reply-to:message-id:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=eUdNHP6oWArUaky0I/WOWFtRa9QTQSPx/BrK7C2C5jw=; b=P9UA0ceynz983ROqGJjkDzEcWGwfgkIwq9+FfPIPcd1AWBsj3JMJDSX3xUeLLEGW6q 3clh5sHl+nxFKAaJCFrBjTM3KkTEc7csHC3vClBjerJCkZ5XVj2MiUc41CqNMgqE9OSE la8AkMKkBjPAbq7PFOnY17obdybe991xEQOuAyeTE8XCvRpJDoQkLjiEGOZblxIfvNyu cN3fNad1cYVmT6J8j38XvTDtQO8YvAMFI53vwulMQzFMfqLHiWj6M7IL5YFJ0sN78rSP RCPgUutTDbjmYj4Kl3f932/1G058UNFFYzv5GKC0tsPX30sMaz5lSB4ykaUovWsGttzO H4TQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5302opN2/AJWBD0/Q9k6hCBFxm2pXFU3hdZqdVJ7tHb2qRDAYrTE ZT9pqlSr1dPMtlYkq/veXSI= X-Google-Smtp-Source: ABdhPJwLkO3r869VbdUQ1gKGlEoRbQWXNWyvwd7EqZBtxGg9F4jAyyMgXSP+Vjz1O+77vddBXKqVXQ== X-Received: by 2002:a5d:4b82:: with SMTP id b2mr21334596wrt.419.1637778535032; Wed, 24 Nov 2021 10:28:55 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:fe0b:: with SMTP id n11ls311798wrr.0.gmail; Wed, 24 Nov 2021 10:28:52 -0800 (PST) X-Received: by 2002:a5d:4704:: with SMTP id y4mr20755984wrq.85.1637778532704; Wed, 24 Nov 2021 10:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637778532; cv=none; d=google.com; s=arc-20160816; b=cjvxhe8vlz3tYAl3kSjL9PFneP8JN5S7Wzdbw1C0GPaameVjLqrNOuRTkOPSSEEgK3 ejxpaO0XCAW0PCSH5ZIVH9+Y083235y4F99Ls+saWzXMbxRNVpTtKvuhNyjzyr85/xkm qWIoW7pi5rSZ2WHNGE5IMeduJe4fXpjm5QuR1/8xj6996Yo9kvgWLdYHmaHGeWR5PJGm 2OUnbmynNEiFGsSbH3hPQxEMv5NXF5Z6wo632wZekt0+QMYquniZSefwGx23+tgz1eTp JqcmOX3h+qZSotgTKfGjo/e3JIaHSU+iTPCQNLnr/UmB70Gcl7YDx5OO8eB32SjOfUht pI1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=vCf0+KEqWO2HrFqyT/48gHQ0WcKaaf2/1q/Mb+ytpFg=; b=cj9eeax5xeVyYTTSbrz6DWXFzkA4Wn8LzpL35k9OzeQBlAxNUi6ZXKpELBOLveaIYP LtN0ThR8jEWC1P7QiQINlmESSJW67uRuh3GaUzmKBBFMfaeyU0SOBHdig/Qvn4HX0cur NKv9hA0+dDe0XjFJMI3aZcTfzlnZl++Ev77MReKZt8bT/IhPxjjzJKB0PFaep07lhjD/ GizDh6Zap4OKpuhyvbBwgG/lG9NUKou3MGrLt5GguvGNxQtxlhivtps2GdzTuXpsU4UK 1am7X31+Khlq4zDJMaT3QBsaKbMLPoZgPYe9TSRZp6xC3CI/6YALucxyBf+4JWLaylNB EDwQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=USqOaLSs; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com. [2a00:1450:4864:20::434]) by gmr-mx.google.com with ESMTPS id p5si27939wru.1.2021.11.24.10.28.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Nov 2021 10:28:52 -0800 (PST) Received-SPF: pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::434 as permitted sender) client-ip=2a00:1450:4864:20::434; Original-Received: by mail-wr1-x434.google.com with SMTP id a18so5878398wrn.6 for ; Wed, 24 Nov 2021 10:28:52 -0800 (PST) X-Received: by 2002:adf:a412:: with SMTP id d18mr350053wra.529.1637778532338; Wed, 24 Nov 2021 10:28:52 -0800 (PST) Original-Received: from smtpclient.apple (dynamic-077-002-147-191.77.2.pool.telefonica.de. [77.2.147.191]) by smtp.gmail.com with ESMTPSA id g13sm436506wmk.37.2021.11.24.10.28.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Nov 2021 10:28:51 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=USqOaLSs; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29610 Archived-At: Hi, thanks! After looking at the naming specs for CSS, I come to the conclusion that the best separator for names in element meta-data (classes and attributes) is a dash; like {.output-beamer eisvogel-width=90% beamer-width=50%} etc. While not ideal, this is also in line with how the attribute names from Markdown are translated into HTML attributes with the "data-" prefix. Best wishes Martin > On 23. Nov 2021, at 17:38, Gwern Branwen wrote: > > If you use periods inside an identifier or class, wouldn't that > generate invalid HTML output? I thought periods were forbidden > characters precisely because you want to be able to manipulate them > inside JS/CSS where '.' would then be ambiguous (is it part of the > JS/CSS language, or part of the quoted name? If I write css on > 'foo.bar { display: none; }', is that a inside a , or an > element with the ID '#foo.bar'?). I was running into this with section > headers where section headers like '# T. S. Eliot' were generating IDs > like '#t.s.eliot' but that was then invalidating the HTML. > > -- > gwern > https://www.gwern.net > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwO0gyhdaJgmSFtBn4RrsRNXMH_Leho508tBcM-BS2LfsFiBg%40mail.gmail.com.