|
Message Removed
modified 25-May-18 0:09am.
|
|
|
|
|
Message Removed
modified 25-May-18 0:09am.
|
|
|
|
|
Markdown is really a great alternative to HTML, and I've used it for a while, but unfortunately it had some quirks and limitations that REALLY annoyed me, like the inability to apply styling classes where needed.
If some of you are in the same case, I've released an alternative lightweight markup language (https://github.com/senselogic/PENDOWN) especially designed to fix those problems.
It can be quickly converted to HTML in the navigator through a JS script, or offline by a server-side command line tool.
For those interested, here are a few sample tags :
! Heading 1
!! Heading 2
!!! Heading 3
!!!! Heading 4
!!!!! Heading 5
!!!!!! Heading 6
**bold**
%%italics%%
^^superscript^^
,,subscript,,
~~strikethrough~~
__underlined__
##highlighted##
{{ span }}
{{{ div }}}
### box ###
+++ frame +++
>>> quote >>>
::: pre :::
:::^cpp\
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!";
return 0;
}
:::
[[[
(( Monday | Tuesday | Wednesday ))
(( 1 | 2 | 3 ))
(( 1 | 2 | 3 ))
(( 1 | 2 | 3 ))
]]]
* List
* List
* Sub-list
* Sub-list
# Numbered sub-list
# Numbered sub-list
# Numbered sub-list
# Numbered sub-list
# Numbered
sub-list
@@http:
@@http:
@@http:
[[image.jpg]]
[[image.jpg:20]]
[[image.jpg:20vw,20%]]
After a Pendown tag, you can specify one or several lists of classes and properties :
{{^big,red,yellow_background\ a big red text with a yellow background }}
{{^@2.5,$00f,#eee,black_outline\ a big blue text with a light gray background and a black outline }}
Those lists can be named, so that you can reuse them elsewhere in the document :
{{^blue,italic:gangnam\ a blue text in italics }}
!^gangnam\ This title also uses the gangnam style.
modified 22-Feb-18 9:32am.
|
|
|
|
|
This is the wrong place to post this, really - this forum can move very fats, and posts like this can be swept into oblivion quickly.
Instead, have you considered posting this as a Tip? Submit a new Article[^]
As it stands, it wouldn't qualify as an article, but with a little more detail a tip should be fine. And it would be a lot easier to find later!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: this forum can move very fats HEY! I resemble that remark! I'm only slightly overweight!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I agree, a tip or an article would be much more suited and useful 
|
|
|
|
|
It's way more helpful to post an article and share the code than it is to advertise your project on the Lounge. Imagine if everyone posted "hey, check out my new tool" message. I'm going to move this to the free tools forum.
Besides that, I have two comments
1. Well done. I too am writing Yet Another Markdown Processor myself because the current ones are too ambiguous and don't have everything I want. It's a PITA to get all the cases right.
2. I don't, however, understand the motivation for creating yet another syntax that's not compatible with markdown just to add styling. Markdown already includes the ability to include plain HTML with styles and classes. Further, the intent of Markdown is that "a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions". So what you've proposed is actually a markup, not markdown.
Maybe it's worth creating an extension to markdown that allows style classes to be defined the way you've done it, but within a syntax that's backwards compatible with Markdown (whatever that means these days(
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: I too am writing Yet Another Markdown Processor
Obligatory XKCD[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Indeed an article will be more useful and durable
About the syntax, actually the first implemented version was much closer to Markdown, but over the time the syntax has evolved a lot, mostly in order to remove many Markdown limitations.
For instance Pendown's tags are especially chosen to generate almost no collision with standard C-like code (except for << and >> I think) so that the tags can be freely used in code snippets.
And the table syntax allows tables to be embedded into other tables. Etc etc...
So I agree, Pendown is not a Markdown variant, but I still think it's a good alternative, with many improvements over its spiritual ancestor 
|
|
|
|
|
Thank you I just used it for my purpose.
|
|
|
|
|
My pleasure 
|
|
|
|
|
|
I need a free file explorer like component for vb.net
|
|
|
|
|
And which ones have you already dismissed from your research into what is available ?
|
|
|
|
|
You already posted this query in QA and I explained how to find what you are looking for.
|
|
|
|
|
can anyone give best answer
|
|
|
|
|
I suspect the "best" answer for this question in this specific forum is that...
...you should try a different forum.
|
|
|
|
|
I would suggest that password recovery is never a good idea. If you, or your software, can "recover" a password, so can someone else (or their software). If a user forgets a password, then they should have to set a new one.
|
|
|
|
|
|
I often have to work with complex Visual Studio solutions, with several projects and lots of open files in the editor. Sometimes it can get a little messy, and I was in need of a workspaces functionality, which could allow me to save and restore distinct workspaces, each with its own open files.
I then found an extension for Visual Studio which exactly does that; it is named Workspace Manager, is completely free and is made by Andrey Veselov; I owe him a huge "Thank You!".
Workspaces are saved at the solution level, in a SQLite db file located in solution's directory.
It can be found by its name in the Extension Manager, or downloaded at the following link:
Workspace Manager by Andrey Veselov[^]
"I'm neither for nor against, on the contrary." John Middle
|
|
|
|
|
I'm searching for an open source endpoint security management server solution.
I want to be able to control endpoints in a network and be able to perform all/most of the following:
* get info about users and machines in the network (with or w/out AD, focused on Desktops & Laptops, later Smartphones, Tablets, Servers, other devices)
* deploy and update my security software remotely
* collect data and notifications from endpoints to the server
* multi-platform support
* can run from common OSs like Linux and Windows
* can manage common OSs endpoints: Windows, Linux, Android & macOS
* should have a dashboard and admin pages with notifications for me and others
* easily customizable (preferably coded in PHP/Python or any easy-to-code language, extendible via plugins, etc...)
nice to have:
* integrates to other security systems (SIEM, Logs, etc...)
* permissive license (preferably not GPL)
* support installation as SaaS (to manage from cloud, containers, etc...)
thanks!
|
|
|
|
|
1. Rationale
Null references are considered to be one of the most expensive mistakes in IT design. It's not surprising that there are numerous efforts to solve it. Here are a couple of examples from the Java world:
* Kotlin fights it at the language level
* many tools try to report it as early as possible, for example, IntelliJ IDEA can be configured to warn us about a possible NPE.
Moreover, when the code below is compiled by the IDE, it automatically inserts null-checks, i.e. given the code snippet below
public void service(@NotNull String input) {
}
Resulting bytecode looks like if it's compiled from the following source:
public void service(@NotNull String input) {
if (input == null) {
throw new NullPointerException("Argument for <a href="https:
}
}
Kotlin really solves the problem but Java is still a very popular language, so, we have to deal with nullable values. It's not always convenient to use IntelliJ build system for compiling sources to get that null-checks and the code which explicitly ensures preconditions via checkNotNull() or explicit if (input == null) { throw new NullPointerException("<description>") } also looks not that appealing.
More common setup is to configure a build through Gradle/Maven/Ant. It would not harm to get IDE tips on possible null-related problems and that auto-generated runtime checks without explicitly putting them into code.
Current tool solves the second problem - it allows to add null-checks into *.class files during compilation based on source code annotations.
2. License
The project is licensed by MIT.
3. Design
The whole project is based on a Javac extension. It plugs into the compilation process and automatically inserts null-checks into the resulting bytecode. That can be used either explicitly from the command line or from Maven/Ant. Also, there is a Gradle plugin which simplifies the configuration for Gradle projects.
4. Usage
5. Settings
Even though it's possible to use the plugin with the default setup, there are a number of configuration options. They are described here
6. Project Resources
The documentation is available here.
The project is hosted on GitHub.
modified 14-Nov-17 1:43am.
|
|
|
|
|
The above post should start with a link to the actual tool.
Rest of the verbiage makes it difficult to find it and I think that the actual link doesn't even work.
|
|
|
|
|
Thank you for the feedback!
I've corrected the links.
About the post organization - not sure that it would be better to give a link without explaining what the tool is.
Regards, Denis
|
|
|
|
|
What I meant was that someone might quickly read the content or not even care and just want to look at the tool. So the link to the tool should be first followed by the existing content.
|
|
|
|