On 4/8/2020 6:09 PM, Brian Adkins wrote:
Thanks for the info George. Are you feeding that entire template
(after substituting the @ variables) into the smtp-send-message
function as the message argument i.e. a list of lines?
Yes.
I'm also curious about having "subject" in the template
I use the same Clipboard.js library on Beautiful Racket to support code
copying. (I use v.1.5.15, though apparently the lib is now at 2.0.6).
I've not had any problems or complaints.
One wrinkle in implementation is that you don't want to pass formatted HTML to
the clipboard. Obviously, what
On Wednesday, April 8, 2020 at 6:09:14 PM UTC-4, Brian Adkins wrote:
>
> On Wednesday, April 8, 2020 at 1:46:43 PM UTC-4, gneuner2 wrote:
>>
>>
>> On 4/8/2020 12:54 PM, Brian Adkins wrote:
>> > I was able to write a simple wrapper around smtp-send-message and get
>> > it working through SendGrid
On Wednesday, April 8, 2020 at 1:46:43 PM UTC-4, gneuner2 wrote:
>
>
> On 4/8/2020 12:54 PM, Brian Adkins wrote:
> > I was able to write a simple wrapper around smtp-send-message and get
> > it working through SendGrid in a few minutes (see below), but I wasn't
> > able to find any examples of
While we are looking at the possibility of improving The Guide, one of the
things which I find confusing in Racket documentation is that The Guide, The
Reference and various manuals all look the same. On several occasions I have
started in The Guide, followed links, and then discover that I am
On 4/8/2020 12:54 PM, Brian Adkins wrote:
I was able to write a simple wrapper around smtp-send-message and get
it working through SendGrid in a few minutes (see below), but I wasn't
able to find any examples of sending emails containing both a plain
text version and HTML version. Can anyone
I forgot the dependecy used:
http://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.4.2/clipboard.min.js">
On Wednesday, April 8, 2020 at 7:24:20 PM UTC+2, Greg Trzeciak wrote:
>
> Found in an old file of mine:
>
>
> 'use strict';
> var codeblock =
The information is there at the source level in the way the evaluators are
used but I guess it gets discarded by the time the code gets to html.
There is also the issue that some of the context code is relevant and some
isn't, so not all of the information is actually there to make the most
Found in an old file of mine:
'use strict';
var codeblock = document.getElementsByTagName('blockquote');
for (var i = 0;i
Thoughts:
- I take a look at the compiled HTML document. It doesn't seem suffice to
only change JavaScript because the information about "what is the input" is
pretty much lost at the HTML level.
- IIUC, Scribble targets older version of HTML (HTML4?), so it doesn't
really care about the
On 4/8/20, Stephen De Gabrielle wrote:
> That’s a good suggestion! Do you know the relevant JavaScript we can try it
> out with. Might be an easy PR.
>
Beware that snippets are not always self-contained.
A button should grab any requires and earlier code needed to make the
example run. That'd
That’s a good suggestion! Do you know the relevant JavaScript we can try it out
with. Might be an easy PR.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I was able to write a simple wrapper around smtp-send-message and get it
working through SendGrid in a few minutes (see below), but I wasn't able to
find any examples of sending emails containing both a plain text version
and HTML version. Can anyone point me to some examples?
Thanks,
Brian
For parsing JSON in Typed Racket, you can check out this library I made:
https://github.com/philnguyen/json-type-provider .
You can declare structs and field names that match the underlying data, and
get back a well-typed parser. Don't let the name "type provider" fool you
though, it's nothing
14 matches
Mail list logo