Hiding markup elements in org-mode
Try: (setq org-hide-emphasis-markers t) or set it via customize: M-xcustomize-variableRETorg-hide-emphasis-markersRET
Try: (setq org-hide-emphasis-markers t) or set it via customize: M-xcustomize-variableRETorg-hide-emphasis-markersRET
That Wiki page is outdated. Telegram accepts standard Markdown text formatting: Bold: Double * = **hello world** Italic: Double _ = __hello world__ Monospace: Triple ` = “`hello world“`
Assuming you are using valid XHTML, it’s simple to parse the HTML and make sure tags are handled properly. You simply need to track which tags have been opened so far, and make sure to close them again “on your way out”. <?php header(‘Content-type: text/plain; charset=utf-8’); function printTruncated($maxLength, $html, $isUtf8=true) { $printedLength = 0; $position … Read more
I think the most semantically correct would be <dl>, <dt> and <dd>, since what you’re displaying are effectively definitions of first name, age and e-mail. <dl> <dt>First Name</dt> <dd>Dominic</dd> <dt>Age</dt> <dd>24</dd> <dt>E-mail</dt> <dd>foo@bar.com</dd> </dl> However, obviously, the easiest way to display it in a table is using <table>, <th> and <td>. You could hack together … Read more
The line block syntax also worked, and was a bit cleaner: | This is a line | This is another line | Another new line
Quite and simple without any “having to specify the first element”. CSS is more powerful than most think (e.g. the first-child:before is great!). But this is by far the cleanest and most proper way to do this, at least in my opinion it is. #navigation ul { margin: 0; padding: 0; } #navigation ul li … Read more
Basically like you said those two do almost the same. However there are small differences under the hood. {x:Reference …} -> returns just a reference of an object it doesn’t create that “bridge” between two properties like binding would do. Behind all that a service is being used that searches for the given name in … Read more
As far as I know, you can only document the closure parameters if you label them: /// Calls bar with “Hello, world” /// – parameter bar: A closure to call /// – parameter theString: A string to use func foo(bar: (theString: String) -> Void) { bar(theString: “Hello, world”) } This is less than ideal: it … Read more
This one came to my attention recently. linter.structured-data.org I like that it generates a preview when the Google Rich Snippet tool reports “Insufficient data to generate the preview.” The structured-data tool also generates a more structured, almost graphical result, which makes the results a bit easier to understand.
Here’s the real story… 🙂 Clark, Oren and I started working on YAML in April 2001. Oren and Clark were part of the SML mailing list, which was trying to make XML simpler. I had just written a data serialization language for Perl called Data::Denter. Clark contacted me to tell me about an idea they … Read more