quote

How can I write two separate blockquotes in sequence using markdown?

隐身守侯 提交于 2019-12-02 20:00:26
I need to place two blockquotes in sequence, however markdown combines them into a single blockquote. The only way I can get them to separate is placing some junk text between them. As this textfield allows me to use Markdown I can demonstrate: > First Quote > Second Quote Results in: First Quote Second Quote While using junk text: > First Quote . > Second Quote Results in: First Quote . Second Quote I cannot use HTML tags or HTML entities. Only Markdown. Undistraction You can separate blockquotes without html elements by using comment markup <!-- --> with an extra whiteline between the blocks

What is ' (apostrophe) in Lisp / Scheme?

自闭症网瘾萝莉.ら 提交于 2019-12-02 19:55:47
I am on day 1 hour 1 of teaching myself Scheme. Needless to say, I don't understand anything. So I'm reading The Little Schemer and using this thing: http://sisc-scheme.org/sisc-online.php as an interpreter. I need to use ' in for example (atom? 'turkey) to avoid an "undefined variable" error. The ' , according to the book, is a Common Lisp thing. I have two questions: Is the interpreter I mentioned above a good one? Can you recommend another? I need one that will go well with The Little Schemer . What is ' ? The form 'foo is simply a faster way to type the special form (quote foo) which is to

What is the difference between 1 and '1 in Lisp?

懵懂的女人 提交于 2019-12-02 17:56:52
I had never really thought about whether a symbol could be a number in Lisp, so I played around with it today: > '1 1 > (+ '1 '1) 2 > (+ '1 1) 2 > (define a '1) > (+ a 1) 2 The above code is scheme, but it seems to be roughly the same in Common Lisp and Clojure as well. Is there any difference between 1 and quoted 1? Well, they are in fact very different. '1 is however precisely the same as (quote 1) . (car ''x) evaluates to the symbol 'quote'. 1 is an S-expression, it's the external representation of a datum, a number 1. To say that 1 is a 'number-object' or an S-expression to enter that

how to create a quoted expression from strings

两盒软妹~` 提交于 2019-12-02 17:43:28
Given a vector of strings, I would like to create an expression without the quotation marks. # eg, I would like to go from c("string1", "string2") # to... (notice the lack of '"' marks) quote(list(string1, string2)) I am encountering some difficulty dropping the quotation marks input <- c("string1", "string2") output <- paste0("quote(list(", paste(input, collapse=","), "))") # not quite what I am looking for. as.expression(output) expression("quote(list(string1,string2))") This is for use in data.table column selection, in case relevant. What I am looking for should be able to fit into data

HTML5 block-quote with author

拥有回忆 提交于 2019-12-02 17:03:23
Hi I'm seeing a great number of different ways to implementat blockquote in html but it doesn't seem clear in its documentation how should I properly format a blockquote let's say of a famous quote and metion its author like: In victory, you deserve Champagne, in defeat, you need it. Napoleon Bonaparte What would the correct format of that be in HTML5? Should the author be inside or outside the blockquote tag? Should it be inside the cite attribute? (even knowing the documentation specifies an URI , not author) Mat D http://neilpie.co.uk/2011/12/13/html5-quote-attribution/ For example, use

Not getting the specific output without braces [closed]

孤街醉人 提交于 2019-12-02 16:43:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . please explain me why am I not getting the whole output with the following line: echo"$x+$y=".$x+$y."</br>"; I were only getting the print of the addition without the string getting printed. But the output is perfect with this statement: echo"$x+$y=".($x+$y)."</br>"; Thank you. 回答1: Operator precedence 101. The

Make big quotes with <blockquote>

匆匆过客 提交于 2019-12-02 16:41:13
Some years ago, I used the tag to create a quote on my site (with big quotation marks). Now I want to do the same thing, but it doesn't work anymore. The only thing I get are small "" and not the big ones. How do I get the old, big ones back? Thanks! I believe you're looking for something like this: blockquote { font-family: Georgia, serif; font-size: 18px; font-style: italic; width: 500px; margin: 0.25em 0; padding: 0.35em 40px; line-height: 1.45; position: relative; color: #383838; } blockquote:before { display: block; padding-left: 10px; content: "\201C"; font-size: 80px; position: absolute

Common Lisp - flatting a list that may contain symbols

与世无争的帅哥 提交于 2019-12-02 14:49:41
问题 This is #7 of of 99 Lisp problems: transform a list, possibly holding lists as elements into a `flat' list by replacing each list with its elements (recursively). I have tried several solutions, e.g from #2680864 or from here. They all work, but I run into a problem if I am flattening a list containing a quoted element. E.g.: > '(a 'b c) (A 'B C) > '(a (quote b) c) (A 'B C) > (flatten '(a 'b c)) (A QUOTE B C) In the latter case I would like to get: (A 'B C) It seems that the internal

Common Lisp - flatting a list that may contain symbols

时间秒杀一切 提交于 2019-12-02 11:50:50
This is #7 of of 99 Lisp problems : transform a list, possibly holding lists as elements into a `flat' list by replacing each list with its elements (recursively). I have tried several solutions, e.g from # 2680864 or from here . They all work, but I run into a problem if I am flattening a list containing a quoted element. E.g.: > '(a 'b c) (A 'B C) > '(a (quote b) c) (A 'B C) > (flatten '(a 'b c)) (A QUOTE B C) In the latter case I would like to get: (A 'B C) It seems that the internal representation of ' gets in the way for this task! SBCL, CLISP, ECL, ... they all behave the same way.

Lisp quote work internally

扶醉桌前 提交于 2019-12-02 05:15:20
问题 How does lisp quote work internally? For example: (quote (+ 1 (* 1 2)) ) seems to be equivalent to (list '+ 1 (list '* 1 2)) which means it is some how symbolizing the Head values recursively. Is this function a built in? Run (equal (quote (+ 1 (* 1 2))) (list '+ 1 (list '* 1 2))) if you don't believe me. 回答1: How does it work ? quote is really really simple to implement. It does mostly nothing. The quote special operator just returns the enclosed object like it is. Nothing more. No