Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to put a 80 character limit on a long topic line in markdown? Post 303034725 by Neo on Friday 3rd of May 2019 09:14:45 AM
Old 05-03-2019
Also, from the GitLabs Markdown page:

Newlines

If this is not rendered correctly

see
Code:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/markdown.md#newlines

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Number of long limit

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

How to put limit on a file size?

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

Line too long error Replace string with new line line character

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

Ignore the 255 character limit of command line

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

Put a character before each line

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

Printf or any other method to put long string of spec characters - passing passwords

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

Limit on number of pipes after long-running command?

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

awk command input string too long, limit

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
MKD_CALLBACKS(3)					   BSD Library Functions Manual 					  MKD_CALLBACKS(3)

NAME
mkd_callbacks -- functions that modify link targets LIBRARY
Markdown (libmarkdown, -lmarkdown) SYNOPSIS
#include <mkdio.h> char* (*mkd_callback_t)(const char*, const int, void*); void (*mkd_free_t)(char *, void*); void mkd_e_url(MMIOT *document, mkd_callback_t edit); void mkd_e_flags(MMIOT *document, mkd_callback_t edit); void mkd_e_free(MMIOT *document, mkd_free_t dealloc); void mkd_e_data(MMIOT *document, void *data); DESCRIPTION
Discount provides a small set of data access functions to let a library user modify the targets given in a `[]' link, and to add additional flags to the generated link. The data access functions are passed a character pointer to the url being generated, the size of the url, and a data pointer pointing to a user data area (set by the mkd_e_data() function.) After the callback function is called (either mkd_e_url() or mkd_e_flags()) the data freeing function (if supplied) is called and passed the character pointer and user data pointer. EXAMPLE
The mkd_basename() function (in the module basename.c) is implemented by means of mkd callbacks; it modifies urls that start with a `/' so that they begin with a user-supplied url base by allocating a new string and filling it with the base + the url. Discount plugs that url in in place of the original, then calls the basename free function (it only does this when mkd_e_url() or mkd_e_flags() returns nonzero) to deallocate this memory. Note that only one level of callbacks are supported; if you wish to do multiple callbacks, you need to write your own code to handle them all. SEE ALSO
markdown(1), markdown(3), mkd-line(3), markdown(7), mkd-extensions(7), mmap(2). basename.c http://daringfireball.net/projects/markdown/syntax BUGS
Error handling is minimal at best. Mastodon January 18, 2008 Mastodon
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy