05-03-2019
Writing this one up for a gitlab project wiki page.
Documentation is sparse on this topic
GitLab Markdown | GitLab.
But based on how you questioned, i am guessing it is not possible to split a header line and for this one i may to live with not wrapping the line as needed per the coding guidelines of the project.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I want to insert xyz.log file in CLOB field of Oracle DB. The log file increases its size dynamically. When i am inserting the file into DB i have to check the size of the file, if its size is more than 32KB then insert upto that size into CLOB field of DB. Otherwise proceed normally.
... (1 Reply)
Discussion started by: rajeshorpu
1 Replies
3. Solaris
I get a file which has all its content in a single row.
The file contains xml data containing 3000 records, but all in a single row, making it difficult for Unix to Process the file.
I decided to insert a new line character at all occurrences of a particular string in this file (say replacing... (4 Replies)
Discussion started by: ducati
4 Replies
4. Shell Programming and Scripting
Hi
I would just like to ask if there is a way for UNIX to ignore/overcome the 255 character limit of the command line?
My problem is that I have a really long line of text from a file (300+ bytes) which i have to "echo" and process by adding commands like "sed" to the end of the line, like... (5 Replies)
Discussion started by: agentgrecko
5 Replies
5. UNIX for Dummies Questions & Answers
i have few lines:
3 4 5 6
#72 9 9 9
4 5 67 8 9
#4 6 8 92 1i want to put '#' before each line.
i used this
awk '{print "#" $0;}it gave
#3 4 5 6
##72 9 9 9
#4 5 67 8 9
##4 6 8 92 1but i want the output like this:
#3 4 5 6
#72 9 9 9
#4 5 67 8 9
#4 6 8 92 1I want to avoid the character... (5 Replies)
Discussion started by: arindam guha
5 Replies
6. Shell Programming and Scripting
Hello,
I am looking for a method to use in my bash script which allows me to use long strings with all special characters.
I have found that printf method could be helpful for me but unfortunately, when I trying
root@machine:~# tevar=`printf "%s%c"... (2 Replies)
Discussion started by: elxa1
2 Replies
7. Shell Programming and Scripting
I'm trying to create a minimal, crude keylogger for X using only a shell script. I was quickly stumped: Why do these two commands entered in a terminal emulator produce output when I type...
$ xinput test 6 | grep press
$ xinput test 6 | awk '{print $3}'
...but this command produces no... (13 Replies)
Discussion started by: DevuanFan
13 Replies
8. UNIX for Beginners Questions & Answers
cat filename| awk '{ $1=""; print $0}'
in my file there are few lines that has more than 3000 characters per line and as soon as I run the above command it cores, strings core reveals that the awk is failing because input string too long, limit. can i get some help from the experts to find... (8 Replies)
Discussion started by: knijjar
8 Replies
LEARN ABOUT DEBIAN
markdown
MARKDOWN(3) BSD Library Functions Manual MARKDOWN(3)
NAME
markdown -- process Markdown documents
LIBRARY
Markdown (libmarkdown, -lmarkdown)
SYNOPSIS
#include <mkdio.h>
MMIOT
*mkd_in(FILE *input, int flags);
MMIOT
*mkd_string(char *string, int size, int flags);
int
markdown(MMIOT *doc, FILE *output, int flags);
DESCRIPTION
These functions convert Markdown documents and strings into HTML. markdown() processes an entire document, while mkd_text() processes a sin-
gle string.
To process a file, you pass a FILE* to mkd_in(), and if it returns a nonzero value you pass that in to markdown(), which then writes the con-
verted document to the specified FILE*. If your input has already been written into a string (generated input or a file opened with mmap(2))
you can feed that string to mkd_string() and pass its return value to markdown.()
Markdown() accepts the following flag values (or-ed together if needed) to restrict how it processes input:
MKD_NOLINKS Don't do link processing, block <a> tags.
MKD_NOIMAGE Don't do image processing, block <img>.
MKD_NOPANTS Don't run smartypants().
MKD_NOHTML Don't allow raw html through AT ALL
MKD_STRICT Disable superscript and relaxed emphasis.
MKD_TAGTEXT Process text inside an html tag; no <em>, no <bold>, no html or [] expansion.
MKD_NO_EXT Don't allow pseudo-protocols.
MKD_CDATA Generate code for xml ![CDATA[...]].
MKD_NOSUPERSCRIPT Don't generate superscripts. Emphasis happens _everywhere_
MKD_NOTABLES Disallow tables.
MKD_NOSTRIKETHROUGH Forbid ~~strikethrough~~.
MKD_TOC Do table-of-contents processing.
MKD_1_COMPAT Compatibility with MarkdownTest_1.0
MKD_AUTOLINK Make http://foo.com into a link even without <> s.
MKD_SAFELINK Paranoid check for link protocol.
MKD_NOHEADER Don't process header blocks.
MKD_TABSTOP Expand tabs to 4 spaces.
MKD_NODIVQUOTE Forbid >%class% blocks.
MKD_NOALPHALIST Forbid alphabetic lists.
MKD_NODLIST Forbid definition lists.
MKD_EXTRA_FOOTNOTE Enable markdown extra-style footnotes.
RETURN VALUES
markdown() returns 0 on success, 1 on failure. The mkd_in() and mkd_string() functions return a MMIOT* on success, null on failure.
SEE ALSO
markdown(1), mkd-callbacks(3), mkd-functions(3), mkd-line(3), markdown(7), mkd-extensions(7), mmap(2).
http://daringfireball.net/projects/markdown/syntax
BUGS
Error handling is minimal at best.
The MMIOT created by mkd_string() is deleted by the markdown function.
Mastodon December 20, 2007 Mastodon