[cl-markdown-devel] cl-markdown and asdf-system-connections
Raphael Martelles
martelr at martelles.com
Tue Oct 14 23:07:57 UTC 2008
Hi!
Here's another interesting one:
(markdown "
<p>
<img src='/images/lisplogo_flag_64.png' /></p>
" :stream nil :format :html)
results in:
<p> <img src='/images/lisplogo<em>flag</em>64.png' /></p>
On the other hand:
(markdown "
<p>
<img src='/images/lisplogo-flag_64.png' /></p>
" :stream nil :format :html)
results in the correct output of:
<p> <img src='/images/lisplogo-flag_64.png' /></p>
Looks like cl-markdown is interpreting surrounding underscores as
emphasis within the inline HTML block, even though the markdown docs
say it shouldn't.
That took me a while to find. :)
Raph
On Oct 14, 2008, at 11:15 AM, Gary King wrote:
> (cc'd to list)
>
> Hi Raphael,
>
> This is great feedback; thanks.
>
> I'll add these issues to my issue tracker (Fogbugz) and try to
> attend to them both soon).
>
>
> On Oct 14, 2008, at 12:58 PM, Raphael Martelles wrote:
>
>> Hi, Gary.
>>
>> Just a quick note to say that I think asdf-system-connections needs
>> to be added as a dependency to cl-markdown. I carefully (by hand)
>> installed the various dependencies to get cl-markdown to work, and
>> when I tried (markdown "some string") I got the slime debugger
>> saying "Class named NIL not found."
>>
>> After some investigation, I then restarted lisp, loaded asdf-system-
>> connections, reloaded the rest of the packages and tried (markdown
>> "some string") again and had it work.
>>
>> The stack is here:
>>
>> ((0 "(\"CCL::%READ-FORM\"\" \\\"#<STRING-INPUT-STREAM
>> #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")"
>> (:restartable :unknown))
>> (1 "(\"READ\"\" \\\"#<STRING-INPUT-STREAM #x300040FDF2AD>\
>> \\" \\\"'T\\\" \\\"'NIL\\\" \\\"'NIL\\\"\")"
>> (:restartable :unknown))
>> (2 "(\"READ-FROM-STRING\"\" \\\"\\\\\"\\\\\"\\\" \\\"'T\\
>> \" \\\"'NIL\\\" \\\"':START\\\" \\\"0\\\" \\\"':END\\\" \\\"'NIL\\
>> \" \\\"':PRESERVE-WH.."
>> (:restartable :unknown))
>> (3 "(\"(:INTERNAL SWANK::FROM-STRING)\"\"\")"
>> (:restartable :unknown))
>> (4 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\
>> \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK::FROM-STRI.."
>> (:restartable :unknown))
>> (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")"
>> (:restartable :unknown))
>> (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry
>> SLIME interactive evaluation request.\\\\\"\\\" \\\"#<COMPILE.."
>> (:restartable :unknown))
>> (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\
>> \"#<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIV.."
>> (:restartable :unknown))
>> (8 "(\"CCL::CALL-CHECK-REGS\"\" \\\"'SWANK:INTERACTIVE-EVAL
>> \\\" \\\"\\\\\"\\\\\"\\\"\")"
>> (:restartable :unknown))
>> (9 "(\"SWANK::EVAL-FOR-EMACS\"\" \\\"'(SWANK:INTERACTIVE-
>> EVAL \\\\\"\\\\\")\\\" \\\"'NIL\\\" \\\"2\\\"\")"
>>
>>
>> I am using Clozure Common Lisp (formerly openmcl) 1.2 on an Intel
>> mac.
>>
>> I also noticed that in cl-containers, I kept getting a warning that
>> read-container-element was not found. I changed the four #+MCL
>> conditions to #+(or :MCL :openmcl) and that worked very well. I did
>> not see anywhere else in any of the packages that this needed to be
>> done. (This did not fix the above issue, but I am not sure if it
>> might not be important in other ways.)
>>
>> Anyway, I hope this feedback is useful to you! Thank you for all
>> your work on these utilities!
>>
>> Raph
>>
>
> --
> Gary Warren King, metabang.com
> Cell: (413) 559 8738
> Fax: (206) 338-4052
> gwkkwg on Skype * garethsan on AIM
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-markdown-devel/attachments/20081014/883c19ef/attachment.html>
More information about the Cl-markdown-devel
mailing list