gromnitsky / dreamwidth-js Goto Github PK
View Code? Open in Web Editor NEWAn xmlrpc dreamwidth.org library, a CLI client & a Google+ posts importer
An xmlrpc dreamwidth.org library, a CLI client & a Google+ posts importer
Lorem ipsum dolor sit amet, (*consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna* aliqua.
..gets translated by entry-post-md to..
Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna</em> aliqua.
..rather than the expected..
Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit</em>), sed do eiusmod tempor incididunt ut labore et dolore <em>magna</em> aliqua.
Github formats that string as expected:
Lorem ipsum dolor sit amet, (consectetur adipiscing elit), sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
19^th^
H~2~O
.. doesn't superscript the th or subscript the 2 when posted - the ^ are shown instead and, although only one is used either side, ~ is treated as strikeout.
I can see from the preview that github's markdown may not support these, but DW allows the super/subscript HTML.
First, huge thanks for this - after a OS update, the long-unsupported drivel client won't install even from my copy of the 3.0.5 .deb, so I am without a DW client.
(Looks at readme) Well, markdown looks the better option, let's try it...
---
subject Test post
tags: markdown
security: access
---
Hello markdown posting world
$dreamwidth-js entry-post-md <test.md
entry-post-md: YAMLException: end of the stream or a document separator is expected at line 2, column 5:
tags: markdown
^
If I install kramdown and use that to convert to HTML..
kramdown test.md | dreamwidth-js entry-post
.. it posts (yay) but with no subject, tags and as private (oh). I can easily edit those, but what is the secret to posting via markdown?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.